Hello Picnaut!
Picnaut>>You want to choose resistor values that keep each of the 4 different voltages as far apart (spread out) in value as you can, so that you don't misread which switch has been pressed.<<
If you string a number of resisters in series between neg and Pos.... and put a switch inbetween each of the resistors, you can use your AD to read the value between 0 and 1000 (or whatever you have set up..
10 resisters will give you AD values of 102, 204, 306...1024
Thus a 10 switcherooo on one pin.
I do like your Resistor trick though!
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks