Defines are case sensitive.
Change them to ...define ADC_CLOCK has no effect on enhanced core devices.Code:define ADC_BITS 10 'set up the a/d converter define ADC_SAMPLEUS 50
You set the clock in the ADCON1 register, which you have already done.
Defines are case sensitive.
Change them to ...define ADC_CLOCK has no effect on enhanced core devices.Code:define ADC_BITS 10 'set up the a/d converter define ADC_SAMPLEUS 50
You set the clock in the ADCON1 register, which you have already done.
DT
Bookmarks