This commit is contained in:
EggMan 2024-05-06 10:00:10 -04:00
parent 8bd7bc2c22
commit 4cd3f6c275

View File

@ -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)