|
@@ -31,9 +31,9 @@ HTTPClient http;
|
|
boolean tempView = false;
|
|
boolean tempView = false;
|
|
int respCode = 0;
|
|
int respCode = 0;
|
|
|
|
|
|
-unsigned long startMillis1;
|
|
|
|
|
|
+unsigned long startMillis1;
|
|
unsigned long currentMillis1;
|
|
unsigned long currentMillis1;
|
|
-unsigned long startMillis2;
|
|
|
|
|
|
+unsigned long startMillis2;
|
|
unsigned long currentMillis2;
|
|
unsigned long currentMillis2;
|
|
boolean firstIteration = true;
|
|
boolean firstIteration = true;
|
|
|
|
|
|
@@ -484,7 +484,7 @@ void loop()
|
|
currentMillis1 = millis();
|
|
currentMillis1 = millis();
|
|
currentMillis2 = millis();
|
|
currentMillis2 = millis();
|
|
|
|
|
|
- if (firstIteration || (currentMillis1 - startMillis1 >= 10000)) {
|
|
|
|
|
|
+ if (firstIteration || (currentMillis1 - startMillis1 >= 180000)) {
|
|
respCode = http.GET();
|
|
respCode = http.GET();
|
|
firstIteration = false;
|
|
firstIteration = false;
|
|
startMillis1 = currentMillis1;
|
|
startMillis1 = currentMillis1;
|