Modifications

Sauter à la navigation Sauter à la recherche
174 octets ajoutés ,  29 avril 2025 à 20:37
Ligne 119 : Ligne 119 :     
The example [https://github.com/mchobby/micropython-mydin/blob/main/examples/din_controlers/common/async-watchdog.py async-watchdog.py], visible here below, shows how to activate the watchdog. No need to call the {{fname|din.feed_watchdog()}} because it is already called at every execution cycle of the ''userloop'' .
 
The example [https://github.com/mchobby/micropython-mydin/blob/main/examples/din_controlers/common/async-watchdog.py async-watchdog.py], visible here below, shows how to activate the watchdog. No need to call the {{fname|din.feed_watchdog()}} because it is already called at every execution cycle of the ''userloop'' .
 +
 +
{{dbox-gray| it is possible to lock the ''userloop'' by pressing and holding down the button 1. Keep it down long enough and the watchdog will reset the microcontroler!  }}
    
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
32 908

modifications

Menu de navigation