Update main.py
This commit is contained in:
parent
1d78becdd4
commit
86c0ee3d1a
|
@ -90,7 +90,7 @@ while True:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
i -= 1
|
i -= 1
|
||||||
if i == 0:
|
if i == 0:
|
||||||
display.set_string("msg.txt", "Alarm Active!! Please close the door"")
|
display.set_string("msg.txt", "Alarm Active!! Please close the door")
|
||||||
actrl.activate_alarm()
|
actrl.activate_alarm()
|
||||||
else:
|
else:
|
||||||
actrl.lock_door()
|
actrl.lock_door()
|
||||||
|
|
Loading…
Reference in New Issue