Showing posts with label Watchdog. Show all posts
Showing posts with label Watchdog. Show all posts

2018/05/27

Watchdog for ESP8266 and ESP32

This post is a quick summary of using watchdog to help deal with unexpected hang / crash.

Arduino Sketch

Note, the code "watchdogCount = 0;" is commented out so the watchdog is triggered every 5 seconds.