- Wed Apr 30, 2014 5:15 am
#170663
Hi,
I'm working on a project and I'm stuck with a switching problem.
Imagine a box with 4 momentary switches (SW1 - SW4) and 4 leds (A - D). What I want is, when I press and release a switch, only the corresponding LED to turn on and stay on until another switch is pressed.
So if I press SW1, LED A will be on. If I press SW3, LED A will turn off and LED C will turn on, etc.
The inputs will not be used together. Only one at a time.
So, how can I achieve this WITHOUT using a microcontroller?
I'm working on a project and I'm stuck with a switching problem.
Imagine a box with 4 momentary switches (SW1 - SW4) and 4 leds (A - D). What I want is, when I press and release a switch, only the corresponding LED to turn on and stay on until another switch is pressed.
So if I press SW1, LED A will be on. If I press SW3, LED A will turn off and LED C will turn on, etc.
The inputs will not be used together. Only one at a time.
So, how can I achieve this WITHOUT using a microcontroller?