En prévision de l'arrivée de la forge institutionnelle INRAE, nous vous invitons à créer vos nouveaux projets sur la forge MIA.
Open in Web IDE
Quickly and easily edit multiple files in your project.
Edit
Edit this file only.
1 2 3 4 5 6 7 from OhmPi.hardware_components.mux_2024_rev_0_0 import Mux, MUX_CONFIG import time mux = Mux() mux.switch_one(elec=1, role='M', state='on') time.sleep(2) mux.switch_one(elec=1, role='M', state='off')
from OhmPi.hardware_components.mux_2024_rev_0_0 import Mux, MUX_CONFIG import time mux = Mux() mux.switch_one(elec=1, role='M', state='on') time.sleep(2) mux.switch_one(elec=1, role='M', state='off')