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

This commit is contained in:
2026-02-16 20:51:56 -08:00
parent c7ea8d5817
commit 89f3248747
6 changed files with 225 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() {