changes
This commit is contained in:
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)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user