
Originally Posted by
Armadus
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?
Ok, I see ...
You can try to open the 18F242 datasheet, ADC section ( $ 17 , I think )
you also could post the code you've written here, I'm sure it will save lots of time to you ...
Alain
************************************************** ***********************
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 " !!!
*****************************************
Bookmarks