Quick question...does the ADCIN DEFINES (ADC_CLOCK and ADC_SAMPLESUS) setup the ADCON2 register - with the exception of bit 7? Looking through the data sheet for 18F4523, the ADCON2(ADCS) matches with the ADC_CLOCK, but I'm not sure if the ADCON(ACQT) acquisition time is in line with the ADC_SAMPLESUS sampling time. I've just started setting up my program, and didn't know if I needed to setup ADCON2 beyond bit 7 in addition to ADCON1 and TRISA.

Thanks