Implement Hackertours effect
This commit is contained in:
parent
d6cd834ca8
commit
93b409736f
6 changed files with 60 additions and 12 deletions
9
dmx.py
9
dmx.py
|
|
@ -47,6 +47,15 @@ class StairvilleLedPar56(RGB):
|
|||
dmx.set(self.slot + 6, 255)
|
||||
|
||||
|
||||
class ZhennbyPar(RGB):
|
||||
def __init__(self, dmx, slot=1):
|
||||
super(ZhennbyPar, self).__init__(dmx, slot, 1)
|
||||
dmx.set(self.slot + 0, 0)
|
||||
dmx.set(self.slot + 4, 0)
|
||||
dmx.set(self.slot + 5, 0)
|
||||
dmx.set(self.slot + 6, 0)
|
||||
|
||||
|
||||
class DMX:
|
||||
def __init__(self, host, port=0x1936, universe=1, maxchan=512):
|
||||
self._host = host
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue