Display sleep on T-Echo

false_preamble
Mark Qvist 2025-01-16 12:20:01 +01:00
parent 48bce4ea15
commit 01a27cfd9b
1 changed files with 2 additions and 1 deletions

View File

@ -1636,7 +1636,8 @@ void sleep_now() {
digitalWrite(PIN_T114_TFT_EN, HIGH); digitalWrite(PIN_T114_TFT_EN, HIGH);
#elif BOARD_MODEL == BOARD_TECHO #elif BOARD_MODEL == BOARD_TECHO
for (uint8_t i = display_intensity; i > 0; i--) { analogWrite(pin_backlight, i-1); delay(1); } for (uint8_t i = display_intensity; i > 0; i--) { analogWrite(pin_backlight, i-1); delay(1); }
epd_black(true); delay(300); epd_black(true); epd_black(true); delay(300); epd_black(true); delay(300); epd_black(false);
delay(2000);
analogWrite(PIN_VEXT_EN, 0); analogWrite(PIN_VEXT_EN, 0);
delay(100); delay(100);
#endif #endif