Robot Control Library
adc.h File Reference

Go to the source code of this file.

Functions

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