|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecticommand.platform.nxt.Battery
public class Battery
Battery class. Usage: int x = Battery.getVoltageMilliVolt();
Field Summary |
---|
Method Summary | |
---|---|
static float |
getVoltage()
The NXT uses 6 batteries of 1.5 V each. |
static int |
getVoltageMilliVolt()
The NXT uses 6 batteries of 1500 mV each. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int getVoltageMilliVolt()
public static float getVoltage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |