Compare commits
6
Commits
bb9f650edd
...
Alpha
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5affbb0043 | ||
|
|
cfb618134e | ||
|
|
cfea64d258 | ||
|
|
e86a794582 | ||
|
|
54eeebdb0f | ||
|
|
f63cb0f92a |
@@ -47,6 +47,7 @@ import sys
|
|||||||
import ctypes
|
import ctypes
|
||||||
from fido2.ctap2 import Ctap2
|
from fido2.ctap2 import Ctap2
|
||||||
from fido2 import cbor
|
from fido2 import cbor
|
||||||
|
# from fido2 import CtapNfcDevice
|
||||||
|
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
|
|
||||||
@@ -105,7 +106,7 @@ class CliInteraction(UserInteraction):
|
|||||||
|
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
isNfc = False
|
# isNfc = False
|
||||||
if gpie:
|
if gpie:
|
||||||
GPIO.output(door, GPIO.LOW)
|
GPIO.output(door, GPIO.LOW)
|
||||||
|
|
||||||
@@ -326,7 +327,7 @@ while True:
|
|||||||
|
|
||||||
GPIO.output(greenLed, GPIO.HIGH)
|
GPIO.output(greenLed, GPIO.HIGH)
|
||||||
GPIO.output(door, GPIO.HIGH)
|
GPIO.output(door, GPIO.HIGH)
|
||||||
time.sleep(5)
|
time.sleep(3)
|
||||||
GPIO.output(greenLed, GPIO.LOW)
|
GPIO.output(greenLed, GPIO.LOW)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user