4.7.1 Select A/D Channel and Start Conversion

The variable channel is of typedef adc_channel_t defined in adcc.h. For this example, pot input is on RA0, so select channel_AN0.

Start the A/D conversion using the function:

void ADC_StartConversion()