diff --git a/main.py b/main.py index c529d67..bb70fb8 100644 --- a/main.py +++ b/main.py @@ -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()