From f63cb0f92ae42c28c6a6403cf02a163854a9e506 Mon Sep 17 00:00:00 2001 From: EggMan Date: Tue, 14 May 2024 07:35:46 -0400 Subject: [PATCH] made 3 second door unlock instead of 5 --- .idea/misc.xml | 2 +- main.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 92298c3..c76ee5f 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,5 +3,5 @@ - + \ No newline at end of file diff --git a/main.py b/main.py index 3abdbfa..b7dd3eb 100644 --- a/main.py +++ b/main.py @@ -47,6 +47,7 @@ import sys import ctypes from fido2.ctap2 import Ctap2 from fido2 import cbor +from fido2 import CtapNfcDevice config = configparser.ConfigParser() @@ -326,7 +327,7 @@ while True: GPIO.output(greenLed, GPIO.HIGH) GPIO.output(door, GPIO.HIGH) - time.sleep(5) + time.sleep(3) GPIO.output(greenLed, GPIO.LOW)