NXTComm Processing

A library by Jorge C. S. Cardoso for the Processing programming environment.
Last update, 08/14/2014.

The NXTComm Processing library allows you to control the Lego Mindstorms NXT robots.

Download

Download NXTComm Processing version 0.99 (5) in .zip format.

Installation

Unzip and put the extracted NXTComm folder into the libraries folder of your Processing sketches. Reference and examples are included in the NXTComm folder.

Changes

Release 0.99 - 14 August 2014
+ Changed serial library from RXTX to jSSC (the same used by Processing).
+ Added contributions by Dave Musicant to receive messages from the NXT.
+ Added contributions by Matt Cotter to use the color sensor.

Release 0.91 - 05 December2007
+ Removed annoying debug messages when starting motors.
+ Added init version message.

Release 0.90 - 01 October 2007
+ Added getBatteryLevel(), getMotorTachoLimit(), getMotorTachoCount(), getMotorBlockTachoCount(), getMotorRotationCount() and resetMotorPosition().

Release 0.81 - 29 August 2007
- Corrected bug in playTone(int, int) which made it throw a NullPointerException. Thanks to Diego Baca! .

Release 0.8 - 23 July 2007
+ First public release.

Keywords. lego,nxt,mindstorms

Reference. Have a look at the javadoc reference here. A copy of the reference is included in the .zip as well.

Source. The source code of NXTComm Processing is available at Google Code, and its repository can be browsed here.

Examples

Find a list of examples in the current distribution of NXTComm Processing, or have a look at them by following the links below.

Tested

Platform osx,
Processing 2.2
Dependencies Serial