I have a project where I want a 4 position rotary dip switch (BCD) type to turn on 4 LEDs. The switch will also be connected to 2 Arduino inputs, so I can tell which of the 4 positions is selected.
Switch Switch Pins
Position A B
1 0 0 2 1 0 3 0 1 4 1 1
Pretty simply binary stuff. I want to have 4 LEDs connected to the circuit but I only want one LED to be on at a time. For example, LED1 would come on when switch was in position 1 and the other 3 LEDs would be off. I am not using the Arduino to control the LEDs, I don't have enough I/O available. This is probably pretty easy with some logic circuits but I'm not familiar with designing anything like that. I'd appreciate any help.