Modifications

Sauter à la navigation Sauter à la recherche
242 octets ajoutés ,  29 avril 2025 à 00:15
Ligne 161 : Ligne 161 :  
==== before_run(): bool ====
 
==== before_run(): bool ====
   −
xxx
+
Check if the internal MCU temperature is in over-temperature before allowing the {{fname|run()}} to starts the ''userloop''.
 +
 
 +
That would avoids the DIN software to restart in bad conditions if the MCU have been reset for over-temperature reason.
    
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
 
def before_run( self ):
 
def before_run( self ):
 
</syntaxhighlight>
 
</syntaxhighlight>
32 908

modifications

Menu de navigation