08-26-2015 10:42 PM
hi ,
i have 3 temporary buttons and every time the button is pressed its corresponding led will turn on. i want to make it so that when all of the leds are on they will be off . then when the buttons are pressed again the led will turn on again and when all 3 is on they will then turn off.
this is how i want it to be
press button 1 --------> turn on led 1
press button 2 --------> turn on led 2
press button 3 --------> turn on led 3, turn off led1, turn off led2 turn off led3
pls ignore other vis that are in the diagram disable structure.
thanks in advance guys!!! hope you can help me 🙂
08-27-2015 12:22 AM - edited 08-27-2015 12:25 AM
Try to use a single loop. What is the purpose of the outer loop?
Don't hide the LED terminal inside a case structure.
You could also simplify by using an array of three buttons and an array of three LEDs.