My apologies for not such a great description.. so I will clarify here.
I have a rotary switch from an old aircraft panel that has 4 positions and two outputs.
Using my voltmeter's resistance mode I can see the following on the outputs:
OUTPUT1: OPEN OUTPUT2: OPEN
OUTPUT1: CLOSED OUTPUT2: OPEN
OUTPUT1: CLOSED OUTPUT2: CLOSED
OUTPUT1: OPEN OUTPUT2: CLOSED
What I want to do is run +5V into the switch and then somehow determine which of the four modes is active and then pass that back to one of four pins (or really 3 due to the OFF condition) on a microcontroller so it knows which one is selected.
Would I use some kind of logic gates for this or some kind of transistor array?