changed code

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-06 19:20:35 +02:00
parent c2fa15bd86
commit 3ad3c2b2bb
1 changed files with 1 additions and 4 deletions

View File

@ -8,8 +8,5 @@ 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()
time.sleep(10)
for pin in pins:
print(pin)
relay = gpiozero.OutputDevice(pin, active_high=False, initial_value=False)
relay.off() relay.off()