| | (no subject)
| | | After reading Dave's commentary on the RCX's ADC system, I did a few more test's, and found that I could easily predict the value that the RCX would produce for a given resistor. Just use the voltage divider formula - V=R2 / (10,000 + R2) and (...) (26 years ago, 28-Dec-98, to lugnet.robotics)
| | | | | | | | Re: (no subject) John A. Tamplin
| | | | | (...) Wouldn't the resultant reading be: value=1023/(10000*(sum (Si/Ri)) + 1) where Si is 1 if Switch i is closed and 0 otherwise and Ri is the value of the resistor attached in series with Switch i Inversely, sum(Si/Ri)=(1023-V)/(10000*V), but (...) (26 years ago, 29-Dec-98, to lugnet.robotics)
| | | | | | |