presentation
Les relais sont branchés sur les GPIO 32 et GPIO 33.
from machine import Pin rel1 = Pin( 32, Pin.OUT ) rel2 = Pin( 33, Pin.OUT ) rel1.on() rel1.off() rel2.on() rel2.off()