Implement Hackertours effect

This commit is contained in:
Stefan Bethke 2024-12-16 16:15:56 +01:00
commit 93b409736f
6 changed files with 60 additions and 12 deletions

9
dmx.py
View file

@ -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