Function rc_adc_read_volt#

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