Given that I have a 3 pin SPDT switch in ON-OFF-OFF configuration, (common pin, switch1, switch2), 5v and gnd is there a simple circuit using discrete components that would give me a 0v if switch 1 is set, 2.5v if off and 5v if switch 2 is set?
It seems overkill to use a small PIC microcontroller to rear the state of the switch and drive several transistors to generate the required voltage using resistor network.
It seems overkill to use a small PIC microcontroller to rear the state of the switch and drive several transistors to generate the required voltage using resistor network.
