Display sleep on T-Echo
parent
48bce4ea15
commit
01a27cfd9b
|
@ -1636,7 +1636,8 @@ void sleep_now() {
|
|||
digitalWrite(PIN_T114_TFT_EN, HIGH);
|
||||
#elif BOARD_MODEL == BOARD_TECHO
|
||||
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);
|
||||
delay(100);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue