josx.platform.rcx
Class Battery

java.lang.Object
  extended byjosx.platform.rcx.Battery

public class Battery
extends Object

Provides access to Battery.


Constructor Summary
Battery()
           
 
Method Summary
static float getVoltage()
           
static int getVoltageInternal()
           
static int getVoltageMilliVolt()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Constructor Detail

Battery

public Battery()
Method Detail

getVoltageInternal

public static int getVoltageInternal()
Returns:
Battery voltage.

getVoltageMilliVolt

public static int getVoltageMilliVolt()
Returns:
Battery voltage in mV.

getVoltage

public static float getVoltage()
Returns:
Battery voltage in Volt.