diff --git a/discobert.py b/discobert.py index d4a9648..2ffb2b9 100644 --- a/discobert.py +++ b/discobert.py @@ -83,6 +83,7 @@ dmxStartupScenes = [ [120,0,255,255,0,224] ] +# Set a dmx scene by name def setDmxScene(scene): # a universe of zeros cv = [0 for v in range(0, 512)] @@ -91,6 +92,7 @@ def setDmxScene(scene): cv[index] = val dev.send_multi_value(1, cv) +# Set random startup dmx scene def setStartupDmxScene(): # a universe of zeros cv = [0 for v in range(0, 512)] @@ -100,7 +102,7 @@ def setStartupDmxScene(): cv[index] = val dev.send_multi_value(1, cv) - +# Switch betweeb user dmx scenes def setUserDmxScene(): # loop through scenes global dmxScene