potentiometer mathematics
Robban
Posts: 124
Hi
i have a potentiometer from Parallax and when the pot. is at position 0 then the result is 0 and when the pot is at max the result is 65500
i wonder now how i calculate to get the result to show
0 then result is 0 and 10 then the result is 65500
formula?
/Robban
i have a potentiometer from Parallax and when the pot. is at position 0 then the result is 0 and when the pot is at max the result is 65500
i wonder now how i calculate to get the result to show
0 then result is 0 and 10 then the result is 65500
formula?
/Robban
Comments
Simple answer:
answer = result / 6550
answer=0 when result=0
answer=10 when result=65500
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com