Hi all,
I am trying to build a controller using a joystick.
My problem is that using READADC10 or READADC I can't get a mid reading when the potential divider wiper is in the center position, the reading is significantly high using either commands.
I have also tried a hall effect sensor where it reads 2.5V when in the center.
All photometers I used have rail voltage applied (5V & 0) and show perfect half resistance in the mid position.
What am I doing wrong?
Thanks
I am trying to build a controller using a joystick.
My problem is that using READADC10 or READADC I can't get a mid reading when the potential divider wiper is in the center position, the reading is significantly high using either commands.
I have also tried a hall effect sensor where it reads 2.5V when in the center.
All photometers I used have rail voltage applied (5V & 0) and show perfect half resistance in the mid position.
What am I doing wrong?
Thanks