fix: correct Waveshare touch pins — SDA=17 SCL=18 RST=38
GPIO 8/9 were assigned to both LCD blue data and I2C touch, causing I2C init to steal the LCD pins and blank the display. Corrected to match Waveshare ESP32-S3-Touch-LCD-4.3 schematic.
This commit is contained in:
@@ -29,10 +29,10 @@
|
||||
#define PIN_LCD_BL 2
|
||||
|
||||
// ── GT911 I2C touch controller ──────────────────────────────────
|
||||
#define TOUCH_SDA 8
|
||||
#define TOUCH_SCL 9
|
||||
#define TOUCH_INT 4
|
||||
#define TOUCH_RST 5
|
||||
#define TOUCH_SDA 17
|
||||
#define TOUCH_SCL 18
|
||||
#define TOUCH_INT -1
|
||||
#define TOUCH_RST 38
|
||||
|
||||
// ── RGB LCD data pins (ESP32-S3 LCD_CAM peripheral) ─────────────
|
||||
// Adjust if your board revision differs
|
||||
|
||||
Reference in New Issue
Block a user