mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-06 19:49:19 +00:00
t-deck-tft button is handled in device-ui
This commit is contained in:
parent
60fe974dd4
commit
e29d0e85e6
@ -1,3 +1,6 @@
|
|||||||
|
#ifndef HAS_TFT // for TFT-UI the definitions are in device-ui
|
||||||
|
#define BUTTON_PIN 0
|
||||||
|
|
||||||
// ST7789 TFT LCD
|
// ST7789 TFT LCD
|
||||||
#define ST7789_CS 12
|
#define ST7789_CS 12
|
||||||
#define ST7789_RS 11 // DC
|
#define ST7789_RS 11 // DC
|
||||||
@ -19,6 +22,7 @@
|
|||||||
#define SCREEN_ROTATE
|
#define SCREEN_ROTATE
|
||||||
#define SCREEN_TRANSITION_FRAMERATE 5
|
#define SCREEN_TRANSITION_FRAMERATE 5
|
||||||
#define BRIGHTNESS_DEFAULT 130 // Medium Low Brightness
|
#define BRIGHTNESS_DEFAULT 130 // Medium Low Brightness
|
||||||
|
#endif
|
||||||
|
|
||||||
#define HAS_TOUCHSCREEN 1
|
#define HAS_TOUCHSCREEN 1
|
||||||
#define SCREEN_TOUCH_INT 16
|
#define SCREEN_TOUCH_INT 16
|
||||||
@ -27,11 +31,6 @@
|
|||||||
|
|
||||||
#define SLEEP_TIME 120
|
#define SLEEP_TIME 120
|
||||||
|
|
||||||
#ifndef HAS_TFT
|
|
||||||
#define BUTTON_PIN 0
|
|
||||||
// #define BUTTON_NEED_PULLUP
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define GPS_RX_PIN 44
|
#define GPS_RX_PIN 44
|
||||||
#define GPS_TX_PIN 43
|
#define GPS_TX_PIN 43
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user