diff --git a/timer.py b/timer.py index 4f7290b..b75e459 100644 --- a/timer.py +++ b/timer.py @@ -72,13 +72,17 @@ #--------------------------------------- - +import os import sys import pyglet import datetime import time from datetime import timedelta + +#turn on the HDMI adapter, in case it is off +os.system ('sudo /home/pi/rpi-hdmi.sh on') + window = pyglet.window.Window(fullscreen=True)