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:
1:30fb42e3ae76
Parent:
0:0d6025d96c54
--- a/MPU9150.lib	Mon Feb 01 16:00:10 2016 +0000
+++ b/MPU9150.lib	Mon Feb 01 16:14:10 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/syundo0730/code/MPU9150/#78ba160ba5f3
+https://developer.mbed.org/users/syundo0730/code/MPU9150/#1a6f1948f43d