From 04e7932e443b69f699f9272d3ad9cd1511d226af Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 15 Dec 2022 10:21:30 -0500 Subject: [PATCH] added GPIO_NUM_13 --- .../esp32-cam-send-jpeg-serial/esp32-cam-send-jpeg-serial.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cubesatsim/esp32-cam-send-jpeg-serial/esp32-cam-send-jpeg-serial.ino b/cubesatsim/esp32-cam-send-jpeg-serial/esp32-cam-send-jpeg-serial.ino index d8274649..59290cfd 100644 --- a/cubesatsim/esp32-cam-send-jpeg-serial/esp32-cam-send-jpeg-serial.ino +++ b/cubesatsim/esp32-cam-send-jpeg-serial/esp32-cam-send-jpeg-serial.ino @@ -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();