Edit debug message
This commit is contained in:
4
app.py
4
app.py
@ -8,11 +8,11 @@ def main():
|
|||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
||||||
GPIO.output(pin, GPIO.LOW)
|
GPIO.output(pin, GPIO.LOW)
|
||||||
print("Unlocking...")
|
print("[Door] Unlocking...")
|
||||||
time.sleep(0.4)
|
time.sleep(0.4)
|
||||||
|
|
||||||
GPIO.output(pin, GPIO.HIGH)
|
GPIO.output(pin, GPIO.HIGH)
|
||||||
print("Unlocked!")
|
print("[Door] Unlocked!")
|
||||||
time.sleep(0.4)
|
time.sleep(0.4)
|
||||||
|
|
||||||
GPIO.cleanup(pin)
|
GPIO.cleanup(pin)
|
||||||
|
Reference in New Issue
Block a user