|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lejos.nxt.NXT
public class NXT
Abstraction for the local NXT Device. Supports methods that are non specific to any particular sub-system.
Constructor Summary | |
---|---|
NXT()
|
Method Summary | |
---|---|
static void |
boot()
Boot into firmware update mode. |
static int |
diagn(int code,
int param)
Diagnostic tool (for firmware developers only) |
static void |
exit(int code)
Terminate the application. |
static int |
getFirmwareMajorVersion()
Get the leJOS NXJ firmware major version |
static int |
getFirmwareMinorVersion()
Get the leJOS NXJ firmware minor version |
static int |
getFirmwareRevision()
Get the leJOS NXJ firmware revision number |
static int |
getProgramExecutionsCount()
Get the number of times a Java program (including the menu) has executed since the brick was switched on |
static int |
getUserPages()
Return the number of flash pages available to user programs. |
static void |
shutDown()
Shutdown 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 void exit(int code)
public static void shutDown()
public static void boot()
public static int diagn(int code, int param)
public static int getProgramExecutionsCount()
public static int getFirmwareMajorVersion()
public static int getFirmwareMinorVersion()
public static int getFirmwareRevision()
public static int getUserPages()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |