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)
|
# GPIO.output(14, GPIO.LOW)
|
||||||
print("Waiting for device...")
|
print("Waiting for device...")
|
||||||
badCredentials = False
|
badCredentials = False
|
||||||
|
GPIO.output(redLed, GPIO.HIGH)
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
# GPIO.output(14, GPIO.LOW)
|
# GPIO.output(14, GPIO.LOW)
|
||||||
@ -233,7 +234,7 @@ while True:
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Authentication Failed!")
|
print("Authentication Failed!")
|
||||||
for i in range(5):
|
for i in range(5):
|
||||||
GPIO.output(redLed, GPIO.HIGH)
|
|
||||||
time.sleep(0.05)
|
|
||||||
GPIO.output(redLed, GPIO.LOW)
|
GPIO.output(redLed, GPIO.LOW)
|
||||||
time.sleep(0.05)
|
time.sleep(0.05)
|
||||||
|
GPIO.output(redLed, GPIO.HIGH)
|
||||||
|
time.sleep(0.05)
|
||||||
|
Loading…
Reference in New Issue
Block a user