I am working on ESP8266 in Arduino IDE. I want to know how to Software RESET the ESP8266. Any sketch/example would be useful. Moreover, how to initialise WDT in ESP8266.
Kindly help!
I am working on ESP8266 in Arduino IDE. I want to know how to Software RESET the ESP8266. Any sketch/example would be useful. Moreover, how to initialise WDT in ESP8266. Kindly help! |
|||
Actually ESP8266 has two WDTs, software and hardware. Hardware WDT we can't control from arduino programming. To clear software WDT you can use yield function. |
|||
|
ESP.reset()
– Jaromanda X Jul 22 at 1:56while(1);
would make it reset. Or use the officialESP.reset();
function. – Majenko Jul 22 at 9:46