Hi,
I need to build a function box for testing switches(Resiter ladder).
One input 2V or 6V or 8V .
The output should green led for 2V input.
The output should red led for 4V input.
The output should yellow led for 8V input.
All off for no input is selected.
How can I do this? Please help me out.
for ex:
For 2V.. I compare with Vref= 1.5 if it is true turn on green led.
For 4V.. I compare with Vref= 3.5 if it is true turn on Red led and green led
For 8V.. I compare with Vref= 7.5 if it is true turn on all leds.