diff --git a/main.py b/main.py index 047eebf..3b07077 100644 --- a/main.py +++ b/main.py @@ -84,6 +84,7 @@ while True: # GPIO.output(14, GPIO.LOW) print("Waiting for device...") badCredentials = False + GPIO.output(redLed, GPIO.HIGH) while True: try: # GPIO.output(14, GPIO.LOW) @@ -233,7 +234,7 @@ while True: except Exception as e: print("Authentication Failed!") for i in range(5): - GPIO.output(redLed, GPIO.HIGH) - time.sleep(0.05) GPIO.output(redLed, GPIO.LOW) time.sleep(0.05) + GPIO.output(redLed, GPIO.HIGH) + time.sleep(0.05)