View Single Post
  #2   Spotlight this post!  
Unread 02-07-2006, 20:14
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Battery Voltage variable on EDU controller

Are you using the EDU header files? For those two fields (rc_*_batt), I have "res01" and "res02".

In ifi_aliases.h (EDU version), it has this macro:
Code:
/*
 *-------------------------------------------------------------------------------
 *---------- Alias for Battery Voltage  -----------------------------------------
 *-------------------------------------------------------------------------------
 * current voltage = battery_voltage * 0.038 + 0.05; 
 */
#define battery_voltage rxdata.rc_analog01
Also, I'm pretty sure the formula is known to be inaccurate.