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

Download repository: zip gz

Files at revision 1:30fb42e3ae76

Name Size Actions
[up]
Example
MPU9150.lib 71 Revisions Annotate
main.cpp 121 Revisions Annotate
mbed.bld 65 Revisions Annotate