changes
This commit is contained in:
parent
36097703cb
commit
359a0a8010
6
main.py
6
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!")
|
Loading…
Reference in New Issue
Block a user