|
|||||||||
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 |
getFirmwareMajorVersion()
Get the leJOS NXJ firmware major version |
static int |
getFirmwareMinorVersion()
Get the leJOS NXJ firmware minor version |
static int |
getFirmwarePatchLevel()
Get the leJOS NXJ firmware patch level |
static int |
getFirmwareRawVersion()
Return major and minor version and the patch level within a single integer. |
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 shutDown()
public static void boot()
public static int getProgramExecutionsCount()
public static int getFirmwareRawVersion()
getFirmwareMajorVersion()
,
getFirmwareMinorVersion()
, and getFirmwarePatchLevel()
instead of this method.
getFirmwareMajorVersion()
,
getFirmwareMinorVersion()
,
getFirmwarePatchLevel()
public static int getFirmwareMajorVersion()
public static int getFirmwareMinorVersion()
public static int getFirmwarePatchLevel()
public static int getFirmwareRevision()
public static int getUserPages()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |