ESP8266 Watchdog

When developing on an ESP8266 I came across the issue of the WDT not being triggered by my code and subsequently getting reset by the hardware WDT.

Here is one of the few useful resources I found on the topic –

Essentially it’s as simple as adding ESP.wdtFeed(); to your loop to reset the WDT so it doesn’t time out and get rebooted.