Hi,
Not surprising ...
IF you use external Vref + and Vref - ...... A2 and A3 are the Vref+/- inputs ...
IF NOT just try
AlainCode:ADCON1 = %01001110 ; ADCON1 is 8 Bits... not 7 !!!
Hi,
Not surprising ...
IF you use external Vref + and Vref - ...... A2 and A3 are the Vref+/- inputs ...
IF NOT just try
AlainCode:ADCON1 = %01001110 ; ADCON1 is 8 Bits... not 7 !!!
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Using ADCON1 = %01001110 corrects my digital input problem, but now PortA.0 does not work as an analog input for ADC. Where can I find some more information on how ADCON1 works?
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Thanks for your help. I must have misread the table that I was looking at. The correct setting
is ADCON1 = %10001110.
Bookmarks