Example source code for various navX2-Micro capabilities are available for both for FTC and FRC Robotics Control Systems.
FTC Examples
This section provides example code for several common navX2-Micro applications used by FIRST FTC teams on their robots to add sophisticated navigation capabilities. These examples are in Java.
NOTE: When you run the setup program contained in the latest navX2-Micro build, the navX2-Micro examples will be installed to subdirectories underneath <home_directory>\navx-micro\java\examples (e.g., C:\Users\Robot\navx-micro\java\examples).
FRC Examples
If you are looking for FRC examples, please see the navX-MXP Examples.