parent
e946dbb190
commit
3aa61515ae
2
test.py
2
test.py
|
@ -11,7 +11,7 @@ pins = [14,15,18,23,24,25,8,7,8,25,24,23,18,15,15]
|
||||||
# time.sleep(1)
|
# time.sleep(1)
|
||||||
# relay.off()
|
# relay.off()
|
||||||
|
|
||||||
relay = gpiozero.OutputDevice(p14, active_high=False, initial_value=False)
|
relay = gpiozero.OutputDevice(14, active_high=False, initial_value=False)
|
||||||
relay.on()
|
relay.on()
|
||||||
time.sleep(30)
|
time.sleep(30)
|
||||||
relay.off()
|
relay.off()
|
Loading…
Reference in New Issue