Code:ADCON2 = %10110101
adcin does not support acqt
@24 MHz fosc/16 is out of specs use fosc/32Code:ADCON2 = %10110101
without setting any defines is asking for troubleCode:ADCIN 7, adcVal
DEFINE ADC_BITS 8
DEFINE ADC_CLOCK 3 or 2
DEFINE ADC_SAMPLEUS 50
Bookmarks