Take a look at table 11-2 in the data sheet.
ADCON1 = %00001111
Sets the VREF pins and makes AN0 analog with the remainder digital.
Bits 6 an 7 will set for 8 or 10 bit resolution and FOSC/x
Take a look at table 11-2 in the data sheet.
ADCON1 = %00001111
Sets the VREF pins and makes AN0 analog with the remainder digital.
Bits 6 an 7 will set for 8 or 10 bit resolution and FOSC/x
Dave
Always wear safety glasses while programming.
Bookmarks