From 4cd3f6c275479707c0ec499850f9ffe500c27477 Mon Sep 17 00:00:00 2001 From: EggMan Date: Mon, 6 May 2024 10:00:10 -0400 Subject: [PATCH] changes --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)