Compare commits

...
6 Commits
Author SHA1 Message Date
eggman20339 5affbb0043 Merge pull request 'gpio' (#2) from test into main
Reviewed-on: #2
2024-05-14 05:45:25 -07:00
EggMan20339 cfb618134e gpio 2024-05-14 12:44:23 -04:00
eggman20339 cfea64d258 Merge pull request 'gpio' (#1) from test into main
Reviewed-on: #1
2024-05-14 05:42:29 -07:00
eggman20339 e86a794582 Merge branch 'main' into test 2024-05-14 05:42:08 -07:00
EggMan 54eeebdb0f removed NFC 2024-05-14 07:43:22 -04:00
EggMan f63cb0f92a made 3 second door unlock instead of 5 2024-05-14 07:35:46 -04:00
+3 -2
View File
@@ -47,6 +47,7 @@ import sys
import ctypes
from fido2.ctap2 import Ctap2
from fido2 import cbor
# from fido2 import CtapNfcDevice
config = configparser.ConfigParser()
@@ -105,7 +106,7 @@ class CliInteraction(UserInteraction):
while True:
isNfc = False
# isNfc = False
if gpie:
GPIO.output(door, GPIO.LOW)
@@ -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)