changed time

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-06 19:24:07 +02:00
parent 562c7e17b6
commit bb68e0f117
1 changed files with 2 additions and 2 deletions

View File

@ -2,11 +2,11 @@ import time
import os import os
import gpiozero import gpiozero
pins = [14,15,18,23,24,25,8,7] pins = [14,15,18,23,24,25,8,7,8,25,24,23,18,15,15]
for pin in pins: 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) time.sleep(1)
relay.off() relay.off()