|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlejos.nxt.Battery
public class Battery
Battery class that supports remote execution. 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 |
---|
clone, equals, finalize, 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 |