
Originally Posted by
mikebike
Is this specific for 10 bit ADC, or should it be there for 8 bit conversion as well?
And how? -CMON0 something?
have a look to datasheet ... Comparator section !!!
Hm, the example programs that I have (for 16F877A) do not have such an instruction, does that PIC not need it?
some pins share the comparator and ADC functions ... you HAVE to verify which function is deactivated and which is to activate. ( one at a time ... )
Depends on the chip used - and the ports used ...
ADCON0.7 = 1 seems to have have cured the problem, thanks guys.
Full config done = NO suprise ...
sometimes, the pic defaults @ reset are the ones you want ... sometimes not. so you have to verify everything with the pic Datasheet !!!
************************************************** ***********************
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