parent
43bd91c238
commit
ed54c51c2a
5
test.py
5
test.py
|
@ -8,3 +8,8 @@ for pin in pins:
|
||||||
print(pin)
|
print(pin)
|
||||||
relay = gpiozero.OutputDevice(pin, active_high=False, initial_value=False)
|
relay = gpiozero.OutputDevice(pin, active_high=False, initial_value=False)
|
||||||
relay.on()
|
relay.on()
|
||||||
|
|
||||||
|
for pin in pins:
|
||||||
|
print(pin)
|
||||||
|
relay = gpiozero.OutputDevice(pin, active_high=False, initial_value=False)
|
||||||
|
relay.off()
|
Loading…
Reference in New Issue