I am using a PIC18F microcontroller with the CCS compiler and need some help finishing my coding.
Does anybody know the meaning of the mode option in the setup_adc() function?
It has options of ADC_OFF (obvious), ADC_CLOCK_DIV_2, ADC_CLOCK_DIV_8, ADC_CLOCK_INTERNAL, and such, but I am confused by what exactly this does for my ATD converter. It does not seem to be affecting my ATD. Maybe I am doing something wrong, I don't know.
Any help would be greatly appreciated.