Package lejos.nxt

Access to NXT sensors, motors, etc.


Interface Summary
ADSensorPort An abstraction for a port that supports Analog/Digital sensors.
BasicMotorPort An abstraction for a motor port that supports RCX type motors, but not NXT motors with tachometers.
BasicSensorPort An abstraction for a sensor port that supports setting and retrieving types and modes of sensors.
ButtonListener Abstraction for receiver of button events.
I2CPort Abstraction for a port that supports I2C sensors.
LegacySensorPort Abstraction for a port that supports legacy RCX sensors.
ListenerCaller Interface for calling calling lejos listeners.
SensorConstants Constants used to set Sensor types and modes.
SensorPortListener Interface for monitoring changes to the value for an Analogue/Digital sensor (such as a Touch, Light or Sound sensor) on a SensorPort.
TachoMotorPort Abstraction for a motor port that supports NXT motors with tachometers.

Class Summary
BasicMotor Abstraction for basic motor operations.
Battery Provides access to Battery.
Button Abstraction for an NXT button.
ColorSensor LEGO Color Sensor driver.
ColorSensor.Color Extended color class, that includes the background reading at the time that the other readings were made.
Flash Read and write access to flash memory in pages.
I2CSensor Class that implements common methods for all I2C sensors.
LCD Text and graphics output to the LCD display.
LCDOutputStream A simple output stream that implements console output.
LightSensor This class is used to obtain readings from a LEGO NXT light sensor.
Motor Motor class contains 3 instances of regulated motors.
MotorPort Abstraction for a NXT output port.
NXT Abstraction for the local NXT Device.
NXTEvent This class allows communication of event data between the leJOS firmware and the leJOS low level classes.
NXTMotor Abstraction for an NXT motor with no speed regulation.
NXTRegulatedMotor Abstraction for a NXT motor.
NXTRegulatedMotor.Controller This class provides a single thread that drives all of the motor regulation process.
SensorPort Abstraction for a NXT input port.
Settings leJOS NXJ persistent settings.
Sound NXT sound routines.
SoundSensor Abstraction for a NXT sound sensor.
SystemSettings This class is designed for use by other lejos classes to read persistent settings.
TemperatureSensor Lego Education Temperature Sensor 9749
TouchSensor Abstraction for a NXT touch sensor.
UltrasonicSensor Abstraction for a NXT Ultrasonic Sensor.
VM This class provides access to many of the internal structures of the leJOS virtual machine.
VM.VMClone This class is used to create a Java class from in memory data.
VM.VMException An exception record
VM.VMExceptions Class to provide access to a series of exception records
VM.VMItems<E> This class provides the ability to iterate through a series of in memory structures and returns a Java accessible clone of the structure.
VM.VMStaticFields This class can be used to gain access to all of the static fields.
VM.VMValue Class that represents a value within the VM.

Error Summary
FlashError Error generated by the Flash class

Package lejos.nxt Description

Access to NXT sensors, motors, etc.