Toggle LED with multiple buttons
Posted: Sun Mar 13, 2022 23:48
Hello,
Im new to the community. I got myself two NXT Gladiator Standard and wanted to customize the LEDs.
I want an idle state, where the top RGB LED is blue. But when I press button 4 i want it to be green. If i would press it again it should be blue again. Then if I press 3 regardless if i pressed 4 before I want the LED to turn red. And when i press 3 again it should go to idle state again. Is something like this even possible?
And is there a method to toggle LEDs from another controller? So that if I press 4 on controller 1 both RGB LEDs turn the specific color.
Regards
Colin
Im new to the community. I got myself two NXT Gladiator Standard and wanted to customize the LEDs.
I want an idle state, where the top RGB LED is blue. But when I press button 4 i want it to be green. If i would press it again it should be blue again. Then if I press 3 regardless if i pressed 4 before I want the LED to turn red. And when i press 3 again it should go to idle state again. Is something like this even possible?
And is there a method to toggle LEDs from another controller? So that if I press 4 on controller 1 both RGB LEDs turn the specific color.
Regards
Colin