Compare commits

...

2 Commits

Author SHA1 Message Date
f8fb5658a6 fix: correct Waveshare touch pins, banner, test fills
- TOUCH_SDA=17 SCL=18 RST=38 per Waveshare schematic
- GPIO 8/9 conflict with LCD_B0/B3 was blanking the display
- Banner uses BOARD_NAME macro instead of hard-coded E32R35T
- TFT_eSPI #error wrapped in USE_TFT_ESPI guard
- RGB test fills on separate lines so they actually execute
2026-02-16 16:52:05 -08:00
a638abe083 snapshot 2026-02-16 16:43:40 -08:00
2 changed files with 9 additions and 2 deletions

View File

@@ -38,7 +38,12 @@ void Gfx::init() {
return;
}
Serial.printf("[GFX] Display OK: %dx%d\n", SCREEN_WIDTH, SCREEN_HEIGHT);
_gfx->fillScreen(0xF800); // RED TEST delay(2000); _gfx->fillScreen(0x07E0); // GREEN TEST delay(2000); _gfx->fillScreen(0x001F); // BLUE TEST delay(2000);
_gfx->fillScreen(0xF800); // RED TEST
delay(2000);
_gfx->fillScreen(0x07E0); // GREEN TEST
delay(2000);
_gfx->fillScreen(0x001F); // BLUE TEST
delay(2000); _gfx->fillScreen(0x07E0); // GREEN TEST delay(2000); _gfx->fillScreen(0x001F); // BLUE TEST delay(2000);
}
void Gfx::setRotation(uint8_t r) { if (_gfx) _gfx->setRotation(r); }

View File

@@ -21,7 +21,9 @@
#endif
#if USE_TFT_ESPI
#ifndef ST7796_DRIVER
#error "TFT_eSPI setup mismatch — ST7796_DRIVER expected for E32R35T"
#if USE_TFT_ESPI
#error "TFT_eSPI setup mismatch — ST7796_DRIVER expected for E32R35T"
#endif
#endif
#endif
#define HOLD_TO_SILENCE_MS 1000