diff --git a/main.py b/main.py index bbd0dac..bb63f23 100644 --- a/main.py +++ b/main.py @@ -326,7 +326,12 @@ while True: GPIO.output(greenLed, 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)