To properly instantiate the DIN controler, you must identifies:
+
To properly instantiate the DIN controller, you must identifies:
−
# controler board
+
# controller board
−
# backplane board
+
# back-plane board
These information will determine the Python modules to load and the classes names to be used.
These information will determine the Python modules to load and the classes names to be used.
−
The example here below combines a Pico based controler (3 modules DIN) and a two relay board (3 modules DIN).
+
The example here below combines a Pico based controller (3 modules DIN) and a two relay board (3 modules DIN).
[[Fichier:MyDin-3modules.jpg|480px]]
[[Fichier:MyDin-3modules.jpg|480px]]
+
The "Pico based controller (3 modules DIN)" is known under the product code DINCASE-MB3PICO ('''M'''iddle '''B'''oard '''3''' modules with '''Pico''').
+
* The module to load is '''mydin.pico'''
+
* The class to instantiate is '''Pico3Mod'''
+
+
The "two relay board (3 modules DIN)" is known under the product code DINCASE-2R-BP3MOD ('''2 R'''elays '''B'''ack'''P'''lane '''3 Mod'''ules).
+
* The module to load is '''mydin.backplane.relays'''