Arduino Library

arduino-icon-17552A library for accessing nav2X-MXP and navX-Micro (as well as “Classic” navX-MXP and navX-Micro sensors) from Arduino is available.  This library supports the I2c and SPI interfaces.

The navX-sensor Arduino Library is useful for integrating a navX-sensor into Arduino-based project.

To use the library, you can checkout the source code with Git.

Getting Started

After checking out the source code with Git into a directory on your computer, compile using the Arduino IDE.

The file navXTestJig.ino demonstrates how to integrate the library into your application.  The setup() and loop() functions in this file demonstrate how to initialize and communicate with the sensor.