- Sat Jul 11, 2015 11:55 am
#23016
I've changed loop in HelloServer code to:
Code: Select allvoid loop(void){
unsigned int ms=millis();
float sec=float (ms)/1000;
server.handleClient();
Serial.print("work time [s]= ");
Serial.println(sec);
digitalWrite(led, 1);
delay(50);
digitalWrite(led, 0);
delay(50);
}
And below are results of experiments with two ESP8266-01 modules:
Working time before WDT reset:
ESP8266-01 First Module:
Work time 31,55s 4 times
Work time 31,54s 9 times
Work time 31,44s 8 times
ESP8266-01 Second Module:
Work time 31,65s 5 times
Work time 31,55s 15 times
Work time 31,45s 4 times
Work time 31,35s 2 times
Work time 31,25s 1 times
Work time 31,15s 1 times
It seems that results are similar to
kolban observation