Compare commits
No commits in common. "e86a79458289d633807fa2bfdb4d9b863aa6a26e" and "bb9f650edd88af2e6da29fb8aaff9e8ec2807a73" have entirely different histories.
e86a794582
...
bb9f650edd
@ -3,5 +3,5 @@
|
|||||||
<component name="Black">
|
<component name="Black">
|
||||||
<option name="sdkName" value="Python 3.12 (CNSA-276-FP)" />
|
<option name="sdkName" value="Python 3.12 (CNSA-276-FP)" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (CNSA-276-FP)" project-jdk-type="Python SDK" />
|
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (CNSA-276-FP)" project-jdk-type="Python SDK" />
|
||||||
</project>
|
</project>
|
5
main.py
5
main.py
@ -47,7 +47,6 @@ 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()
|
||||||
|
|
||||||
@ -106,7 +105,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)
|
||||||
|
|
||||||
@ -327,7 +326,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(3)
|
time.sleep(5)
|
||||||
GPIO.output(greenLed, GPIO.LOW)
|
GPIO.output(greenLed, GPIO.LOW)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user