Not to throw the conversation off (by all means continue) but I have my own noob question. I have a somewhat different than normal rotary switch I am trying to use, it is being used because it has a very small form factor. But as part of this design I guess, it has no central poles. Normal rotaries work by having four central poles and then the hot pins on the outside, and the outer pin that is live with the center pole is the one that the switch is turned to, each of the four inner poles gets X outer pins that correspond to each of the X positions the switch can turn to. A 3 position rotary has 12 outer pins (3 positions for each of 4 inner poles). So to wire those ones you would have one of the center pins go to the 3.3v, and the three outer pins that go from ground +pullup resistor to the digital in on the pcb.
The problem I am having is that the rotary I've got has no inner poles, and instead the outer pins work in pairs. There are 8 pins each numbered 1-10 (skipping 4 and 9). The position to pin goes:
Position 1 (counterclockwise most) = 5 and 6 live, 10 and 1 live.
Position 2 (centermost) = 1 and 2 live, 6 and 7 live.
Position 3 (clockwise most) = 7 and 8 live, 2 and 3 live.
Problems with wiring this are that I don't THINK I could have say... pin 6 go to ground AND 3.3v so that it serves as the ground for position 1, and the live for position 2. And I'd rather not have to wire six pins so that each position has its own unique pair. Is there an efficient way to do this, or am I stuck with having six wires coming out of a little switch?