be sure your pot impedance meet the maximum impedance stated in the datasheet too.
ADCON1.7=1 ' Right justified results..
Also depending of your OSC speed, you may need to increase your sampling time, and you may want to add a tiny 0.01-0.1 uF capacitor at the PIC input to smooth the results.




Bookmarks