June 2018
Beginner to intermediate
280 pages
6h 58m
English
The main sections of the LaunchPad code are discussed in this section. The following are the header files used in the code:
//Library to communicate with I2C devices #include "Wire.h" //I2C communication library for MPU6050 #include "I2Cdev.h" //MPU6050 interfacing library #include "MPU6050_6Axis_MotionApps20.h" //Processing incoming serial data #include <Messenger.h> //Contain definition of maximum limits of various data type #include <limits.h>
The main libraries used in this code are for the purposes of communicating with MPU 6050 and processing the incoming serial data to LaunchPad. MPU 6050 can provide the orientation in quaternion or Euler values using the inbuilt digital motion processor (DMP). The functions ...