Quote Originally Posted by Melanie View Post
Huh? I thought the PIC16F877A Datasheet is ENTIRELY DEVOTED to the PIC16F877A!!!
You are correct they look so similiar I am so used to looking at just the 16f877 same thing happened when I was ordering too.

Quote Originally Posted by Melanie View Post
Ugh.... no.

adcon1=7 is the same as ADCON1=%00000111... note the % in the statement specified BINARY, whilst the absence of anything implies DECIMAL.

ADCON1=1110 is the same as ADCON1=%10001010110... now you might find that the ADCON1 register just doesn't have that many bits...
Again my lack of posting correctly. I meant to say
ADCON1=%000001110
I abbreviated that I was trying to imply a decimal value of 111 my mistake I should have been more concise.

I want to use RA0 as my analog in thats not a problem with the 877A is it?