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!

  • 1
    from memory, it's ESP.reset() Jul 22 '16 at 1:56
  • IIRC the WDT is always enabled on the ESP8266. A simple while(1); would make it reset. Or use the official ESP.reset(); function.
    – Majenko
    Jul 22 '16 at 9:46
  • 1
    What about WDT? If you want a stupid way of triggering the WDT, then do so, but the end result is the same, but .reset is immediate Jul 22 '16 at 10:08
  • @JaromandaX could you please post your comment as an answer? I'd like to see this question have a proper answer so it will no longer be bumped by Community.
    – per1234
    Dec 19 '16 at 23:08
  • @per1234 - done Dec 19 '16 at 23:13

Software reset in ESP8266 is achieved using ESP.reset()

as per WDT, the other answer has info on that, i.e. software WDT is cleared using yield() - hardware WDT is not accessible through software

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.