changed code

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

View File

@ -11,7 +11,7 @@ pins = [14,15,18,23,24,25,8,7,8,25,24,23,18,15,15]
# time.sleep(1)
# relay.off()
relay = gpiozero.OutputDevice(p14, active_high=False, initial_value=False)
relay = gpiozero.OutputDevice(14, active_high=False, initial_value=False)
relay.on()
time.sleep(30)
relay.off()