This commit is contained in:
EggMan20339 2024-05-09 20:14:33 -04:00
parent 53c13621fe
commit 0fd5ded5f9

View File

@ -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)