|
Re: Limited OI Range From Linear Slide Potentiometers
Well, we're currently using a 20K ohm rotating pot and we can get values from 0 to 1024 without any other resistors. Don't ask me how, but that's what happens. Just to clarify, is your wiring something like this....
Potentiometer Diagram
------------------------
(1)________________(3)
(2)________|
------------------------
Pin 1 on pot to red +5V pin on analog input.
Pin 2 on pot to white signal pin on analog input.
Pin 3 on pot to black ground pin on analog input.
__________________
Code:
void function(void)
{
function();
}
|