diff --git a/dmx_queue.py b/dmx_queue.py index 521b382..119b277 100644 --- a/dmx_queue.py +++ b/dmx_queue.py @@ -49,7 +49,7 @@ class DMXQueue: for idx, value in enumerate(values): self._dmx(start_addr + idx, value) - def _update_all(self, intensity, red, green, blue, white=0): + def _update_all(self, intensity, red, green, blue, white=50): for light in self.lights: light.intensity = intensity light.red = red @@ -74,9 +74,7 @@ class DMXQueue: # three instances of two flashes each for i in range(3): for j in range(2): - self._update_all( - self.config.alerts.brightness, 255, 0, 0, 50 - ) + self._update_all(self.config.alerts.brightness, 255, 0, 0) sleep(0.1) self._update_all(0, 255, 0, 0) sleep(0.1)