Hi,
I didn't see the " CMCON = 7 " ... Default value ... yes, but, just to be sure of .
Also, did you try to tie RA.0 to ground or to RA1 ... it makes a superb noise input, as left floating !
Note unused portA pins should be tied to ground through 10 k resistors ...
- or use RA.0 as input !!! and other RA pins as outputs, if unused.
Alain
Last edited by Acetronics2; - 21st December 2008 at 10:19.
************************************************** ***********************
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