changes
This commit is contained in:
parent
53c13621fe
commit
0fd5ded5f9
7
main.py
7
main.py
@ -326,7 +326,12 @@ while True:
|
|||||||
|
|
||||||
GPIO.output(greenLed, GPIO.HIGH)
|
GPIO.output(greenLed, GPIO.HIGH)
|
||||||
GPIO.output(door, GPIO.HIGH)
|
GPIO.output(door, GPIO.HIGH)
|
||||||
time.sleep(0.1)
|
# time.sleep(5)
|
||||||
|
for i in range(30):
|
||||||
|
GPIO.output(door, GPIO.HIGH)
|
||||||
|
time.sleep(0.01)
|
||||||
|
GPIO.output(door, GPIO.LOW)
|
||||||
|
time.sleep(0.01)
|
||||||
GPIO.output(greenLed, GPIO.LOW)
|
GPIO.output(greenLed, GPIO.LOW)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user