|
Potentiometer Help!
Hi,
We have a potentiometer wired to p3_x (port 3, x value) on the OI. It is a 100K Ohms, 3/4 turn POt; Used mostly in audio systems. We have wires connected to the middle and one of the outside terminals on the POT. We were getting a range of 231-254 at first, however after our programmers did some bitshifting on the values we had a range of 112-228, however we noticed that the numbers are jumping by 4. Meaning the values go 112,116,120 e.t.c. Is there a way to obtain more resolution from these POTS.
My second question is how do i wire the POT to the RC and if it will be able to work with the GYRO and Navigation Code ( I heard that the Nav code only allows analog input from the gyro). Any help will be much appreciated.
__________________
.:Bringling Brains to Life:.
03,04,05-Team 1219 Captain
2003 Rookie all Start @ GTR
2005 Galileo Semi-Finalist & Alliance captain
06-Team 1219 Mentor
2006 Radio Shack Innovation in control @ Waterloo
Last edited by thoughtful : 18-02-2005 at 00:08.
|