|
|
|
@ -212,8 +212,6 @@ def loop_video():
|
|
|
|
player.play(video_path)
|
|
|
|
player.play(video_path)
|
|
|
|
player.loop = True # Enable infinite looping
|
|
|
|
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.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
|
|
|
|
GPIO.setup(BUTTON_PIN_1, GPIO.IN, pull_up_down=GPIO.PUD_UP) # Enable Button 1
|
|
|
|
|
|
|
|
|
|
|
|
|