added temp debug

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-14 01:19:07 +02:00
parent 1a185ad8e6
commit b90fab0a42
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ def error_print(message: str):
#relay
def relay_controller(pin: int, state: str):
print(state)
if state == True:
relay = gpiozero.OutputDevice(pin, active_high=True, initial_value=False)
relay.on()