VEX2 Battery and Power Control
(Created page with "{| style="font-family:Verdana, Genega, sans-sarif; font-size:80%;color:gray;" width="100%" cellpadding="0%" cellspacing="0" border="0" |- | ''Main >> [[VEX2_Mai...") |
|||
| Line 2: | Line 2: | ||
|- | |- | ||
| | | | ||
| − | ''[[Main_Page|Main]] | + | ''[[Main_Page|Main]] → [[VEX2_Main|CORTEX]] → [[VEX2: Functions| Functions and Variables]] → [[VEX2:_Functions_-_Battery_and_Power_Control|Battery and Power Control]] '' |
|- | |- | ||
|} | |} | ||
Revision as of 11:25, 13 April 2012
|
Main → CORTEX → Functions and Variables → Battery and Power Control |
|
| |||||||
nAvgBatteryLevel
| int nAvgBatteryLevel | |
| (int) The average battery level in millivolts. (A value of 9458 represent 9.458 volts.) It's the average of 20 recent samples and smoothes out sudden voltage transients. | |
|
nImmediateBatteryLevel
| int nImmediateBatteryLevel | |
| (int) The last sampled battery level in millivolts. (A value of 9458 represent 9.458 volts.) | |
|