Example to use MPU9150 library. This project explaining the way to get raw values from the sensor. I ported here from this arduino's project https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU9150/Examples. To get run this program, we need to connect pinName 27 to "SCL" pin, pinName 28 to "SDA" pin, GND to GND, VOUT to VCC.

Dependencies:   MPU9150 mbed

Revision:
0:0d6025d96c54
diff -r 000000000000 -r 0d6025d96c54 Example/MPU9150_raw.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Example/MPU9150_raw.h	Mon Feb 01 16:00:10 2016 +0000
@@ -0,0 +1,9 @@
+#ifndef _MPU9150_RAW_H_
+#define _MPU9150_RAW_H_
+
+namespace MPU9150raw {
+    void setup();
+    void loop();
+};
+
+#endif /* _MPU9150_RAW_H_ */
\ No newline at end of file