Install the Adafruit MPU6050 library
masterTo install the library in your Arduino IDE, use the Arduino Library Manager. Search for "Adafruit MPU6050" and select the install option.
repository·master·Indexed 41 days ago
https://github.com/adafruit/adafruit_mpu6050An Arduino library for interfacing with the MPU6050 6-DoF Accelerometer and Gyroscope via I2C, designed for use with the Adafruit MPU6050 Breakout Board.
The Adafruit MPU6050 library requires the following dependencies to function correctly: