Modifications

Sauter à la navigation Sauter à la recherche
574 octets ajoutés ,  27 avril 2025 à 23:48
Ligne 256 : Ligne 256 :     
The instance of the watchdog is created only when the watchdog is configured ( with {{fname|setup_watchdog()}} ).
 
The instance of the watchdog is created only when the watchdog is configured ( with {{fname|setup_watchdog()}} ).
 +
 +
=== Methods ===
 +
==== __init__() ====
 +
 +
Constructor of the {{fname|PicoControler}} class. This constructor is not called directly, the PicoControler class is used as a based for the various size of DIN modules.
 +
 +
The PicoControler creator is aware of the various Pin used for the I2C bus, Status pin, RUN_APP pin, etc. Le PicoControler can create the various instance accordingly.
 +
 +
<syntaxhighlight lang="python">
 +
def __init__( self, BackplaneClass ):
 +
</syntaxhighlight>
 +
 +
* '''BackplaneClass''' : Class of the backplane to be associated with the controler (eg: TwoRelay3Mod).
32 908

modifications

Menu de navigation