Skip to content

Commit

Permalink
Display sleep on T-Echo
Browse files Browse the repository at this point in the history
  • Loading branch information
markqvist committed Jan 16, 2025
1 parent 48bce4e commit 01a27cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RNode_Firmware.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01a27cf

Please sign in to comment.