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
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
4:33fef1998fc8 | 2015-07-16 | The main program now uses complementary filter as a function to calculate pitch and roll angles | File Diff Annotate |
3:88737ad5c803 | 2015-07-13 | Complementary filter and pitch, roll angles are added | File Diff Annotate |
2:497faa1563ea | 2015-07-09 | Comment update; | File Diff Annotate |
0:9203a021a0be | 2015-07-09 | First commit | File Diff Annotate |