refactor(doorbell): migrate ESP32-S3 to ESP_IOExpander library

This commit is contained in:
2026-02-16 20:51:56 -08:00
parent 9ba3d4992c
commit 063087d9f5
7 changed files with 227 additions and 2126 deletions

View File

@@ -22,8 +22,10 @@ void DisplayManager::begin() {
#endif
}
void DisplayManager::setBacklight(bool on) {
digitalWrite(PIN_LCD_BL, on ? HIGH : LOW);
void DisplayDriverGFX::setBacklight(bool on) {
// Cannot control after gfx->begin() — GPIO 8/9 are LCD data.
// Backlight is permanently ON, set during ch422gInit().
(void)on;
}
TouchEvent DisplayManager::readTouch() {