removed 3 seconds of delay for video 1 button and led
master
ezn 1 year ago
parent 412ef5ac7b
commit d641ab6214

@ -212,8 +212,6 @@ def loop_video():
player.play(video_path)
player.loop = True # Enable infinite looping
# Wait for 3 seconds before enabling the button and LED
time.sleep(3)
GPIO.output(LED_PIN_1, GPIO.HIGH) # Activate LED 1
GPIO.setup(BUTTON_PIN_1, GPIO.IN, pull_up_down=GPIO.PUD_UP) # Enable Button 1

Loading…
Cancel
Save