| Ligne 76 : |
Ligne 76 : |
| | | | |
| | == Methods == | | == Methods == |
| − | xx
| + | |
| | + | ==== __init__() ==== |
| | + | |
| | + | Constructor of the {{fname|Pico3Mod}} class, specialized version of the PicoControler for the 3 modules DIN case. Pico3Mod inherits from PicoControler and DinControler. As a consequence, {{fname|Pico3Mod}} also inherits from the methods and properties of the both ancestor. |
| | + | |
| | + | The constructor will creates the objects & resources specific to the {{fname|Pico3Mod}} board. har 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). |