Abstract method that must be overrided in descendant class to activates the hardware Watchdog of the microcontroler. 2 seconds (2000 ms) may represent a good timing.
+
{{dbox-orange| Abstract method that must be overrided in descendant class}}
+
+
The setup_watchdog() methods activates the hardware Watchdog of the microcontroler. 2 seconds (2000 ms) may represent a good timing.
Once activated, the feed_watchdog() must be called before the timeout occurs otherwise the microcontroler will reset.
Once activated, the feed_watchdog() must be called before the timeout occurs otherwise the microcontroler will reset.
−
Remarks: the watchdog is automatically feeded at every iteration of the ''userloop''.
+
Remarks:
+
* the watchdog is automatically feeded at every iteration of the ''userloop''.
+
* do not block the ''userloop'' execution because it may timeout the watchdog
+
* take care of the timing when using blocking function (like Ethernet request) because it may timeout the watchdog.