From fcc37b3b36cf6e0f0faed502d622bbe803101acc Mon Sep 17 00:00:00 2001 From: Chalta Date: Tue, 14 Mar 2017 16:43:51 -0600 Subject: [PATCH] Update timer.py --- timer.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)