Library for interfacing mpu9250 with Mbed supported boards.
Takes in Raw Accelerometer and Gyro Readings and applies complementary filter to get Pitch and Roll. It cannot get yaw angle!!
Tested with ST-Nucleo F446RE board
Please Note that the library is not drectly compatible with mbed online compiler(Since Mbed online uses ARMCC compiler and doesnot support C++11 yet)
It can be used for MPU6050 by modifying inv_mpu.c
USE THIS CODE AT YOUR OWN RISK