Changeset - cd75a12ad66d
[Not reviewed]
default
0 3 0
drewp@bigasterisk.com - 17 years ago 2008-06-10 04:57:36
drewp@bigasterisk.com
adjust dmx dimmer count back to PHS theater levels
3 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
bin/subcomposer
Show inline comments
 
@@ -151,13 +151,13 @@ if __name__ == "__main__":
 
    root=tk.Tk()
 
    root.config(bg='black')
 
    root.wm_title("subcomposer")
 
    root.tk_setPalette("#004633")
 

	
 
    sc = Subcomposer(root, dmxdummy=0,
 
                     numchannels=276 # use this to see all the skyline dims
 
                     #numchannels=276 # use this to see all the skyline dims
 
                     #numchannels=118
 
                     )
 
    sc.pack()
 

	
 
    tk.Label(root,text="Bindings: B1 adjust level; B2 set full; B3 instant bump",
 
             font="Helvetica -12 italic",anchor='w').pack(side='top',fill='x')
light9/dmxchanedit.py
Show inline comments
 
@@ -131,13 +131,13 @@ class Levelbox(tk.Frame):
 
    def __init__(self, parent, num_channels=68):
 
        tk.Frame.__init__(self,parent)
 
        global stdfont
 
        stdfont = tkFont.Font(size=8)
 
        self.levels = [] # Onelevel objects
 

	
 
        rows = 48
 
        rows = 35
 
        frames = [make_frame(self) for x in range((num_channels // rows) + 1)]
 

	
 
        for channel in range(1, num_channels+1):
 
            # frame for this channel
 
            f = Onelevel(frames[channel // rows],channel)
 

	
light9/io/__init__.py
Show inline comments
 
@@ -52,17 +52,17 @@ class ParportDMX(BaseIO):
 
        # if levels[14] > 0: levels[14] = 100 # non-dim
 
        self.parport.outstart()
 
        for p in range(1, self.dimmers + 2):
 
            self.parport.outbyte(levels[p-1]*255 / 100)
 

	
 
class UsbDMX(BaseIO):
 
    dimmers = 512
 
    def __init__(self):
 
    def __init__(self, dimmers=72):
 
        BaseIO.__init__(self)
 
        self.__name__ = "UsbDMX"
 
        self.out = None
 
        self.dimmers = dimmers
 

	
 
    def _dmx(self):
 
        if self.out is None:
 
            sys.path.append("dmx_usb_module/build/lib.linux-i686-2.4")
 
            from dmx import Dmx
 
            self.out = Dmx()
0 comments (0 inline, 0 general)