This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

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