|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlejos.nxt.NXT
public class NXT
Abstraction for the local NXT device. This version of the NXT class supports remote execution.
Constructor Summary | |
---|---|
NXT()
|
Method Summary | |
---|---|
static byte |
deleteFlashMemory()
Deletes all user programs and data in FLASH memory |
static void |
exit(int code)
Close the connection to the NXT and exit |
static java.lang.String |
getBrickName()
Get the friendly name of the brick |
static float |
getFirmwareVersion()
Get the (emulated) standard LEGO firmware version number |
static int |
getFlashMemory()
Get the number of bytes of free flash memory |
static float |
getProtocolVersion()
Get the LEGO Communication Protocol version number |
static int |
getSignalStrength()
This doesn't seem to be implemented in Lego NXT firmware/protocol? |
static byte |
setBrickName(java.lang.String newName)
Set the friendly name of the brick |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NXT()
Method Detail |
---|
public static float getFirmwareVersion()
public static float getProtocolVersion()
public static int getFlashMemory()
public static byte deleteFlashMemory()
public static java.lang.String getBrickName()
public static byte setBrickName(java.lang.String newName)
public static int getSignalStrength()
public static void exit(int code)
code
- the exit code
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |