From 359a0a80101f683e4de681b6d91f26faf5aa6d3c Mon Sep 17 00:00:00 2001 From: Eggman20339 Date: Sun, 5 May 2024 19:51:57 -0400 Subject: [PATCH] changes --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index c79a28b..205e51a 100644 --- a/main.py +++ b/main.py @@ -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!") \ No newline at end of file