|
Re: Battery Voltages in Dashboard
This is probably what you're looking for. Straight from ifi_aliases.h
/* Formula to calculate voltage in volts:
* current_voltage = battery_voltage * 0.038 + 0.05;
*/
#define battery_voltage rxdata.rc_main_batt*15.64/256
#define backup_voltage rxdata.rc_backup_batt*15.64/256
|