5K POT reading?
bennettdan
Posts: 614
Hello,
···· I have a 5k pot that I am reading with the RCTIME comand and the values for full clockwise are 185 and full counter clockwise are 114. The problem is when I use the WAM text to scale and offset the numbers to make a servo follow the pot the program says the number I am using to scale it with is larger than 16 bits. How can I make the code work with a 5k pot?
I am using·a .1uf cap to·with the 5k to read it with RCTIME
What I want to do is position a Servo with a 5K pot instead of a 10K like in the WAM text. It should be simple but I am drawing a blank.
Post Edited (bennettdan) : 7/31/2006 1:16:02 AM GMT
···· I have a 5k pot that I am reading with the RCTIME comand and the values for full clockwise are 185 and full counter clockwise are 114. The problem is when I use the WAM text to scale and offset the numbers to make a servo follow the pot the program says the number I am using to scale it with is larger than 16 bits. How can I make the code work with a 5k pot?
I am using·a .1uf cap to·with the 5k to read it with RCTIME
What I want to do is position a Servo with a 5K pot instead of a 10K like in the WAM text. It should be simple but I am drawing a blank.
Post Edited (bennettdan) : 7/31/2006 1:16:02 AM GMT
Comments
( RC = 10K * C, therefore RC = 5K * 2C )
I will try it tonight and see what I get I was thinking the same but was putting it in series..