
Originally Posted by
Charles Linquis
Do you have PORTA set up as inputs?
Yes, TRISA =255
Do you have them set up for analog?
ADCON1 =0 (as noted in my setup above?)
What are you using for your reference (ADCON1) ?
ADCON1 =0 sets Vdd as thew ref I believe.
Most of the time, Vcc is not good enough.
If you want really good accuracy, you have to use an external, precision reference.
Bookmarks