MPU6050 sample sketch for Arduino
You can download the library and sketches here.
[ Ссылка ]
Drop the folders (I2CDev and MPU6050) into your Arduino library at "Documents/Arduino/libraries".
Using example code is MPU6050_DMP6.
If you can not compile the example with your Arduino IDE, try this.
MPU6050:
[ Ссылка ]
Processing code requires toxiclibs. Download it and drop the "toxiclibs_p5" and "toxiclibs_core" into your Processing library at "Documents/Processing/libraries"
Enjoy.
![](https://i.ytimg.com/vi/x2mXRptflN4/maxresdefault.jpg)