deep sleep

This commit is contained in:
2023-10-06 10:44:06 +02:00
parent 3f04aa1c41
commit 21119603cb
2 changed files with 25 additions and 1 deletions

View File

@@ -54,8 +54,13 @@ void writeFile(fs::FS &fs, const char * path, const char * message){
unsigned long lastStart = 0;
unsigned long lastInteraction = 0;
uint8_t buttontoignore = 0;
const int startDelay = 250;
// wait until deep sleep:
const long sleepDelay = 1800000;
#endif