Merge a4c9ac9ae8 into 91b8e248d3
This commit is contained in:
commit
6c80cf6f29
|
|
@ -541,8 +541,10 @@ void TFT_eSPI::initBus(void) {
|
|||
|
||||
// Configure chip select for touchscreen controller if present
|
||||
#ifdef TOUCH_CS
|
||||
if (TOUCH_CS >= 0) {
|
||||
pinMode(TOUCH_CS, OUTPUT);
|
||||
digitalWrite(TOUCH_CS, HIGH); // Chip select high (inactive)
|
||||
}
|
||||
#endif
|
||||
|
||||
// In parallel mode and with the RP2040 processor, the TFT_WR line is handled in the PIO
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
#define TFT_DC 16
|
||||
#define TFT_RST 23
|
||||
|
||||
#define TOUCH_CS -1
|
||||
//#define TOUCH_CS -1
|
||||
|
||||
#define TFT_BL 4 // Display backlight control pin
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue