aboutsummaryrefslogtreecommitdiff
path: root/LightInstallation.py
diff options
context:
space:
mode:
Diffstat (limited to 'LightInstallation.py')
-rw-r--r--LightInstallation.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/LightInstallation.py b/LightInstallation.py
index e4adab7..87aa629 100644
--- a/LightInstallation.py
+++ b/LightInstallation.py
@@ -3,10 +3,13 @@ from pixelcore.Screen import *
from pixelcore.PixelStrip import *
import pdb, sys, time, Util, thread
from pygame.locals import *
+from logger import main_log
#Python class to instantiate and drive a Screen through different patterns,
#and effects.
class LightInstallation:
def __init__(self, configFileName):
+ main_log.critical("hi russell, i'm sending info to the log files")
+ main_log.critical("initializing based on file: " + str(configFileName))
self.timer = Util.Stopwatch()
self.timer.start()
self.inputs = {} #dict of inputs and their bound behaviors, keyed by InputId
@@ -45,6 +48,7 @@ class LightInstallation:
self.timer.stop()
print 'Initialization done. Time: ', self.timer.elapsed(), 'ms'
self.mainLoop()
+
def initializeMapper(self, mapperConfig):
self.mapper = self.initializeComponent(mapperConfig)[0] #TODO: support
#multiple mappers