added GPIO_NUM_13

pico-fc-test
alanbjohnston 3 years ago committed by GitHub
parent 8b5ec341e7
commit 04e7932e44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -311,7 +311,7 @@ void loop() {
// esp_sleep_enable_timer_wakeup(2 * 1000000); // sleep for 10 seconds
esp_sleep_enable_ext0_wakeup(13, 1)
esp_sleep_enable_ext0_wakeup(GPIO_NUM_13, 1)
Serial.println("Going to sleep now until wake by GPIO13 going HIGH");
Serial.flush();

Loading…
Cancel
Save

Powered by TurnKey Linux.