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.

Dependencies:   mbed MPU6050

Revision:
2:42c4f3a7813f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Examples/MPU6050_raw.h	Sun Jan 31 14:12:13 2016 +0000
@@ -0,0 +1,9 @@
+#ifndef _MPU6050_RAW_H_
+#define _MPU6050_RAW_H_
+
+namespace MPU6050raw {
+    void setup();
+    void loop();
+};
+
+#endif /* _MPU6050_RAW_H_ */
\ No newline at end of file