viri-leds-dmx-sacn/lights/pulsar_chromaflood_200.py

22 lines
436 B
Python
Raw Permalink Normal View History

2024-05-30 11:45:11 +00:00
from colorsys import hsv_to_rgb
2024-05-30 11:45:11 +00:00
from .common import BaseDMXLight
class PulsarChromaflood200(BaseDMXLight):
name = "Pulsar Chromaflood 200 (10-Channel Mode)"
def _dump(self):
return self.address, [
self.red,
self.green,
self.blue,
0,
0,
0, # chase 1
0,
0,
0, # chase 2
self.intensity,
2024-05-30 11:45:11 +00:00
]