Quote:
Originally Posted by sumadin
Hmm. I'm just about to wire the switch, and I'm wondering if I really need a connection to ground. Shouldn't I just be able to wire: +5 aux -> 10k resistor -> switch -> analog input, all in series?
|
You've got it right. An open circuit will be read as 127, and with the switch closed you should see something like 230. No ground connection is needed (or wanted -- it could trigger the open-circuit detector and be read as 127 too).