
12-02-2006, 19:41
|
 |
Registered User
AKA: David Mazza
 FRC #0564 (Digital Impact)
Team Role: Programmer
|
|
Join Date: Jan 2005
Rookie Year: 2005
Location: Middle Island, NY
Posts: 31
|
|
|
Re: Reading battery voltage in software
Quote:
|
Originally Posted by Mark McLeod
Look in ifi_aliases.h, line 300
Code:
#define battery_voltage rxdata.rc_main_batt*15.64/256
#define backup_voltage rxdata.rc_backup_batt*15.64/256
|
cool, thanks
|