changed code

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-06 19:19:17 +02:00
parent 43bd91c238
commit ed54c51c2a
1 changed files with 6 additions and 1 deletions

View File

@ -8,3 +8,8 @@ for pin in pins:
print(pin)
relay = gpiozero.OutputDevice(pin, active_high=False, initial_value=False)
relay.on()
for pin in pins:
print(pin)
relay = gpiozero.OutputDevice(pin, active_high=False, initial_value=False)
relay.off()