Function rc_adc_batt#

Function Documentation#

double rc_adc_batt(void)#

reads the voltage of the 2-cell Lithium battery

Returns:

voltage of battery or -1 on failure