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 30ae8d9f..f8597c08 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 @@ -175,11 +175,11 @@ void deleteFile(fs::FS &fs, const char * path) { void setup() { -// delay(5000); + delay(5000); - #define uS_TO_S_FACTOR 1000000ULL /* Conversion factor for micro seconds to seconds */ - #define TIME_TO_SLEEP 10 /* Time ESP32 will go to sleep (in seconds) */ - esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR); // testing sleep +// #define uS_TO_S_FACTOR 1000000ULL /* Conversion factor for micro seconds to seconds */ +// #define TIME_TO_SLEEP 10 /* Time ESP32 will go to sleep (in seconds) */ +// esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR); // testing sleep Serial.begin(115200); @@ -187,7 +187,7 @@ void setup() { config_camera(); - Serial.println("ESP32-CAM Camera initialized"); + Serial.println("ESP32-CAM Camera initialized v0.2"); pinMode(LED_PIN, OUTPUT); // Set the pin as output