|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlejos.nxt.remote.RemoteBattery
public class RemoteBattery
Battery readings from a remote NXT.
Field Summary |
---|
Constructor Summary | |
---|---|
RemoteBattery(NXTCommand nxtCommand)
|
Method Summary | |
---|---|
float |
getVoltage()
The NXT uses 6 batteries of 1.5 V each. |
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 |
Constructor Detail |
---|
public RemoteBattery(NXTCommand nxtCommand)
Method Detail |
---|
public int getVoltageMilliVolt()
public float getVoltage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |