changes
This commit is contained in:
parent
8bd7bc2c22
commit
4cd3f6c275
5
main.py
5
main.py
@ -84,6 +84,7 @@ while True:
|
||||
# GPIO.output(14, GPIO.LOW)
|
||||
print("Waiting for device...")
|
||||
badCredentials = False
|
||||
GPIO.output(redLed, GPIO.HIGH)
|
||||
while True:
|
||||
try:
|
||||
# GPIO.output(14, GPIO.LOW)
|
||||
@ -233,7 +234,7 @@ while True:
|
||||
except Exception as e:
|
||||
print("Authentication Failed!")
|
||||
for i in range(5):
|
||||
GPIO.output(redLed, GPIO.HIGH)
|
||||
time.sleep(0.05)
|
||||
GPIO.output(redLed, GPIO.LOW)
|
||||
time.sleep(0.05)
|
||||
GPIO.output(redLed, GPIO.HIGH)
|
||||
time.sleep(0.05)
|
||||
|
Loading…
Reference in New Issue
Block a user