Modifications

Sauter à la navigation Sauter à la recherche
12 octets ajoutés ,  29 avril 2025 à 20:25
Ligne 118 : Ligne 118 :  
Most of microcontroler do have an hardware watchdog. Once the watchdog started (its timeout set), do not forget to update it (feed it) before it reach the timeout... otherwise it will reset the microcontroler.
 
Most of microcontroler do have an hardware watchdog. Once the watchdog started (its timeout set), do not forget to update it (feed it) before it reach the timeout... otherwise it will reset the microcontroler.
   −
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. As it is feed at every execution of the ''userloop'', no need to call the {{fname|din.feed_watchdog()}} .
+
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 called at every execution cycle of the ''userloop'' .
    
== Add scheduler task ==
 
== Add scheduler task ==
32 908

modifications

Menu de navigation