minor clean up
This commit is contained in:
1 parent
0f41d3da6a
commit
5447d666b4
2 files changed
+7
-1
No files matched your search
@@ -40,6 +40,8 @@ feather52832.build.f_cpu=64000000
|
||||
feather52832.build.board=NRF52832_FEATHER
|
||||
feather52832.build.core=nRF5
|
||||
feather52832.build.variant=feather_nrf52832
|
||||
feather52840.build.usb_manufacturer="Adafruit LLC"
|
||||
feather52840.build.usb_product="Feather nRF52832"
|
||||
feather52832.build.extra_flags=-DNRF52832_XXAA -DNRF52
|
||||
feather52832.build.ldscript=nrf52832_s132_v6.ld
|
||||
|
||||
|
||||
@@ -26,17 +26,21 @@
|
||||
|
||||
#if defined(ARDUINO_NRF52840_CIRCUITPLAY)
|
||||
// Circuit Playground Bluefruit use with TFT GIZMO
|
||||
#define TFT_BACKLIGHT A3
|
||||
#define DEVICE_NAME "CPLAY"
|
||||
|
||||
#include "Adafruit_ST7789.h"
|
||||
Adafruit_ST7789 tft = Adafruit_ST7789(&SPI, 0, 1, -1); // CS = 0, DC = 1
|
||||
|
||||
#elif defined(ARDUINO_NRF52840_CLUE)
|
||||
#define DEVICE_NAME "CLUE"
|
||||
|
||||
// CLUE use on-board TFT
|
||||
#include "Adafruit_ST7789.h"
|
||||
Adafruit_ST7789 tft = Adafruit_ST7789(&SPI1, PIN_TFT_CS, PIN_TFT_DC, PIN_TFT_RST);
|
||||
|
||||
#else
|
||||
#define DEVICE_NAME "Feather"
|
||||
|
||||
#define TFT_35_FEATHERWING 1
|
||||
#define TFT_24_FEATHERWING 2
|
||||
|
||||
|
||||
Reference in new issue
Block a user