Skip to content

Commit

Permalink
Added deepsleep test #144
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Dec 31, 2024
1 parent 020e3af commit 76dd12a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/demo/demo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,10 @@ void loop()

Serial.end();

// BOOT(STR_IO0) Button wakeup
// Timer wakeup + gpio wakeup = 388uA , see https://github.com/Xinyuan-LilyGO/LilyGo-EPD47/issues/144
esp_sleep_enable_timer_wakeup(30 * 1000000ULL);

// BOOT(STR_IO0) Button wakeup 388uA
esp_sleep_enable_ext1_wakeup(_BV(0), ESP_EXT1_WAKEUP_ANY_LOW);

esp_deep_sleep_start();
Expand Down

0 comments on commit 76dd12a

Please sign in to comment.