Stop messing with ADCON1. If it worked for the 877 it'll work for the 'A'.
Just deal with CMCON and CVRCON.
Type: Posts; User: Melanie; Keyword(s):
Stop messing with ADCON1. If it worked for the 877 it'll work for the 'A'.
Just deal with CMCON and CVRCON.
$0111 = 273 = %100010001
Go into your OS Accessories Folder, call up the CALCULATOR, set the view into SCIENTIFIC MODE - it might help.
I'll get back to everyone on the Forum Editing bit.
Huh? I thought the PIC16F877A Datasheet is ENTIRELY DEVOTED to the PIC16F877A!!!
Look at the section on Comparators (section 12), look at the Voltage Reference Module (section 13).
...
If you compare the Datasheets you'll discover the 877A has Comparators and a Voltage Reference module which can bite you if not disabled.