We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b910968 commit 836012bCopy full SHA for 836012b
1 file changed
esp32/m5stack_timer_camera_x.ino
@@ -48,17 +48,20 @@ void setup() {
48
49
if (!configureCamera()) {
50
Serial.println("Camera configuration failed, halting");
51
+ TimerCAM.Power.timerSleep(SLEEP_INTERVAL_SECS);
52
return;
53
}
54
55
WiFiClient wifi = connectToWiFi();
56
if (WiFi.status() != WL_CONNECTED) {
57
Serial.println("WiFi connection failed, halting");
58
59
60
61
62
if (!sendImage(wifi, batLevel, batVoltage)) {
63
Serial.println("Image upload failed, halting");
64
65
66
67
0 commit comments