changes
This commit is contained in:
parent
359a0a8010
commit
ecf9949d42
2
main.py
2
main.py
@ -66,7 +66,7 @@ while True:
|
|||||||
GPIO.output(14, GPIO.LOW)
|
GPIO.output(14, GPIO.LOW)
|
||||||
print("Waiting for device...")
|
print("Waiting for device...")
|
||||||
while True:
|
while True:
|
||||||
GPIO.output(14, GPIO.HIGH)
|
GPIO.output(14, GPIO.LOW)
|
||||||
dev = next(CtapHidDevice.list_devices(), None)
|
dev = next(CtapHidDevice.list_devices(), None)
|
||||||
|
|
||||||
if dev:
|
if dev:
|
||||||
|
Loading…
Reference in New Issue
Block a user