Mercurial > code > home > repos > light9
diff Nodes/dmxout.py @ 0:45b12307c695
Initial revision
author | drewp |
---|---|
date | Wed, 03 Jul 2002 09:37:57 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Nodes/dmxout.py Wed Jul 03 09:37:57 2002 +0000 @@ -0,0 +1,11 @@ + + +class ops(Ops): + def changed(self, input, output, stateaccess): + input.dmx + +class DMXOut(Node): + def get_default_ports(self): + return {'dmx':InputPort(DMX,required=1,maxpins=1)} + def get_default_params(self): + return {'outputrefresh':NextTime,'outputdevice':DMXDevice}