Function rc_adc_read_volt¶
Defined in File adc.h
Function Documentation¶
- 
double rc_adc_read_volt(int ch)¶
 reads an adc voltage.
- Parameters
 ch – [in] channel 0-7
- Returns
 voltage from 0-1.8v or -1 on error
Defined in File adc.h
reads an adc voltage.
ch – [in] channel 0-7
voltage from 0-1.8v or -1 on error