added deepsleep, thus esp has to reconnect wifi
This commit is contained in:
parent
e9ba6b7c23
commit
5abae49a33
@ -122,6 +122,7 @@ void loop() {
|
||||
mqttClient.endMessage();
|
||||
|
||||
okLED();
|
||||
ESP.deepSleep(60 * 1000 * 1000);
|
||||
} else {
|
||||
Serial.println("Error: GPS not valid");
|
||||
errorLED(5);
|
||||
|
Loading…
x
Reference in New Issue
Block a user