diff --git a/main.py b/main.py index 77378f1..c9488d6 100644 --- a/main.py +++ b/main.py @@ -9,7 +9,7 @@ async def button_press(pin:int): GPIO.setup(pin, GPIO.IN, pull_up_down=GPIO.PUD_UP) while True: button_state = GPIO.input(pin) - if button_state == False: + if button_state == True: pass else: break