ADCON1 = %00000100 will set adc reference to external , is that what you want ? have you provided an ext reference ?
I assume you have the pot connected to an0 of course
ADCON1 = %00000100 will set adc reference to external , is that what you want ? have you provided an ext reference ?
I assume you have the pot connected to an0 of course
Thanks for the input! Yea it was the VREF- set external... I was reading the bits left to right... in other words, I had my head solidly in brown town....
Bookmarks