Example to use MPU6050 library. This project contains usage of DMP and way to get raw values from the sensor. I ported here from this arduino's project https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050/Examples. See here if you want try visualization of sensor values. To get move this program, we need to connect pinName 27 to "SCL" pin, pinName 28 to "SDA" pin, and pinName 29 to "INT" pin of MPU6050.
Diff: MPU6050.lib
- Revision:
- 2:42c4f3a7813f
diff -r ec0a08108442 -r 42c4f3a7813f MPU6050.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MPU6050.lib Sun Jan 31 14:12:13 2016 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/users/syundo0730/code/MPU6050/#4ee054567b6c