Program takes accelerometer and gyroscope data from the MPU6050 registers and calibrates them for better results. Then uses this data is to obtain pitch and roll angles and writes these angles to the terminal which mbed is connected to.

Dependencies:   MPU6050 ledControl2 mbed

MPU6050.lib

Committer:
BaserK
Date:
2015-07-13
Revision:
3:88737ad5c803
Parent:
1:8efed94ca548
Child:
4:33fef1998fc8

File content as of revision 3:88737ad5c803:

https://developer.mbed.org/users/BaserK/code/MPU6050/#a248e65a25cc