Color Switch in Z-uno for RGB leds
Posted: 07 Jan 2019 16:35
Hi,
I'm trying to control some RBG leds with Z-uno. I used the ZUNO_SWITCH_COLOR() macro to set-up the channel as in the Reference page. In the controller (Razberry) the color switch is registered properly and I can select a color there. But when I change the RGB color, the Z-Uno setter function is called only once with the flag for the red color (with a value that should be assigned to the blue component). I was expecting this setter function to be called 3 times, one for each of the colors. Should this be working differently?
I'm trying to control some RBG leds with Z-uno. I used the ZUNO_SWITCH_COLOR() macro to set-up the channel as in the Reference page. In the controller (Razberry) the color switch is registered properly and I can select a color there. But when I change the RGB color, the Z-Uno setter function is called only once with the flag for the red color (with a value that should be assigned to the blue component). I was expecting this setter function to be called 3 times, one for each of the colors. Should this be working differently?