I'm trying to program an LED on a Gladiator device to show multiple colours to reflect multiple states of a virtual cyclic switch. I can get it working with two colours for a two-position cyclic switch using the P-Alternate LED event, however I've not been able to get the LED to respond to the additional state provided by the third position of the virtual switch. The V-Alternate event doesn't work to target the virtual switch button number as I'd expect. If I can get the V-Alternate event working, I assume I'd be able to stack multiple LED events together to handle more than two colours.
My requirements are:
1. A three position virtual cyclic switch attached to a single physical button
2. A single RGB LED to indicate the current position of the virtual cyclic switch
3. For each virtual button provided by the cyclic switch, the LED displays a unique colour (for example red, yellow, green)
4. The LED changes to the colour of the virtual button when the button is activated
5. The LED stays lit with the colour from the switch's last-activated virtual button, until another virtual button is activated
Is this possible, and how can I achieve it?
Thanks in advance.
Programming LEDs with multiple colours
Moderator: AdminGroup
-
- Posts: 3583
- Joined: Tue Jan 15, 2013 23:56
- Location: г.Минск
- Has thanked: 46 times
- Been thanked: 698 times
Re: Programming LEDs with multiple colours
Show the Led settings tab and explain more specifically which LED and how you configure it. A screenshot of the Profile-Buttons tab is welcome.
Who is online
Users browsing this forum: No registered users and 246 guests