parent
136832f878
commit
ab9d82f392
4
test.py
4
test.py
|
@ -25,7 +25,7 @@ def relay_controller(pin: int, state: str):
|
||||||
error_print("Unknown state for relay ("+state+")")
|
error_print("Unknown state for relay ("+state+")")
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
relay_controller(4, "True")
|
relay_controller(17, "True")
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
relay_controller(4, "False")
|
relay_controller(17, "False")
|
||||||
time.sleep(2)
|
time.sleep(2)
|
Loading…
Reference in New Issue