sleep for 2 after sending image

pico-fc-test
alanbjohnston 3 years ago committed by GitHub
parent 609e2a055b
commit 20ca302c80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -251,11 +251,12 @@ void setup() {
// delay(500);
esp_sleep_enable_timer_wakeup(10 * 1000000); // sleep for 10 seconds
esp_sleep_enable_timer_wakeup(2 * 1000000); // sleep for 10 seconds
Serial.println("Going to sleep now for 10 seconds");
Serial.println("Going to sleep now for 2 seconds");
Serial.flush();
esp_deep_sleep_start();
esp_deep_sleep_start();
}

Loading…
Cancel
Save

Powered by TurnKey Linux.