void deepSleep() { hideProgress(); // Make sure the LEDs are turned off debuglog("Going to sleep for: ", SLEEP_TIME_US); esp_sleep_enable_timer_wakeup(SLEEP_TIME_US); Serial.flush(); esp_deep_sleep_start(); }