This commit is contained in:
Eggman20339 2024-05-05 19:51:57 -04:00
parent 36097703cb
commit 359a0a8010

View File

@ -61,7 +61,7 @@ class CliInteraction(UserInteraction):
def badCred():
print("Bad credential!")
time.sleep(3)
time.sleep(2)
while True:
GPIO.output(14, GPIO.LOW)
print("Waiting for device...")
@ -185,7 +185,7 @@ while True:
print("Credential authenticated!")
for i in range(10):
for i in range(5):
GPIO.output(14, GPIO.HIGH)
time.sleep(0.05)
GPIO.output(14, GPIO.LOW)
@ -195,7 +195,7 @@ while True:
print()
print("AUTH DATA:", result.authenticator_data)
GPIO.output(14, GPIO.LOW)
time.sleep(5)
time.sleep(1)
except Exception as e:
GPIO.output(14, GPIO.LOW)
print("Authentication Failed!")