Hi, Jerson
as the AN2 input permanently stays "damaged" after some times ... I do not think it could be a stack or soft problem ...
as I wrote : re-programming the chip do not solve the issue ...
let's say the program continue to run pretty fine, of course excepting what relies to AN2 input ...
I must make some tests with RA2 as digital input/output ... just to try to see if something abnormal and verify if it is in the ADC input multiplexer or in the clamping diodes that the problem is ...
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