maybe fixxed str problem

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

View File

@ -24,7 +24,7 @@ def error_print(message: str):
print('[ERROR]['+current_time+'] '+message)
#relay
def relay_controller(pin: int, state: str):
def relay_controller(pin: int, state):
print(state)
if state == True:
relay = gpiozero.OutputDevice(pin, active_high=True, initial_value=False)