fix up non-reverse TFT feather
This commit is contained in:
parent
46932727b7
commit
2bf5d50819
1 changed files with 10 additions and 9 deletions
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
// GPIO that implement 1-bit memory with RC components which hold the
|
||||
// pin value long enough for double reset detection.
|
||||
#define PIN_DOUBLE_RESET_RC 34
|
||||
#define PIN_DOUBLE_RESET_RC 38
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// LED
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
// GPIO connected to Neopixel data
|
||||
#define NEOPIXEL_PIN 33
|
||||
|
||||
#define NEOPIXEL_POWER_PIN 21
|
||||
#define NEOPIXEL_POWER_PIN 34
|
||||
#define NEOPIXEL_POWER_STATE 1
|
||||
|
||||
// Brightness percentage from 1 to 255
|
||||
|
|
@ -69,11 +69,11 @@
|
|||
#define DISPLAY_PIN_MOSI 35
|
||||
#define DISPLAY_PIN_SCK 36
|
||||
|
||||
#define DISPLAY_PIN_CS 42
|
||||
#define DISPLAY_PIN_DC 40
|
||||
#define DISPLAY_PIN_RST 41
|
||||
#define DISPLAY_PIN_CS 21
|
||||
#define DISPLAY_PIN_DC 39
|
||||
#define DISPLAY_PIN_RST 40
|
||||
|
||||
#define DISPLAY_PIN_BL 7
|
||||
#define DISPLAY_PIN_BL 45
|
||||
#define DISPLAY_BL_ON 1 // GPIO state to enable back light
|
||||
|
||||
#define DISPLAY_WIDTH 240
|
||||
|
|
@ -93,13 +93,14 @@
|
|||
//--------------------------------------------------------------------+
|
||||
|
||||
#define USB_VID 0x239A
|
||||
#define USB_PID 0x00ED
|
||||
#define USB_PID 0x010F
|
||||
|
||||
#define USB_MANUFACTURER "Adafruit"
|
||||
#define USB_PRODUCT "Feather ESP32-S2 Reverse TFT"
|
||||
#define USB_PRODUCT "Feather ESP32-S2 TFT"
|
||||
|
||||
#define UF2_PRODUCT_NAME USB_MANUFACTURER " " USB_PRODUCT
|
||||
#define UF2_BOARD_ID "ESP32S2-FeatherTFT-revA"
|
||||
#define UF2_VOLUME_LABEL "FTHRS2BOOT"
|
||||
#define UF2_INDEX_URL "https://www.adafruit.com/product/pid" // TODO update link
|
||||
#define UF2_INDEX_URL "https://www.adafruit.com/product/5300" // TODO update link
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue