double rc_adc_batt(void)
reads the voltage of the 2-cell Lithium battery
double rc_adc_dc_jack(void)
Reads the voltage of the 9-18v DC jack.
int rc_adc_read_raw(int ch)
reads the raw integer ADC value for a particular channel
int rc_adc_cleanup(void)
Cleans up the ADC subsystem.
double rc_adc_read_volt(int ch)
reads an adc voltage.
int rc_adc_init(void)
initializes the analog to digital converter for reading