Thanks Erik Olieman for his beta library, that saved me a huge amount of time when getting Raw data from MPU6050 module! I was able to update this library by adding additional functions, which would allow a fast angle calculation by using complementary filter. I will probably be updating this library more soon to add additional functionality or make some changes that would look sensible.

Dependents:   QuadcopterProgram 3DTracking ControlYokutan2017 Gyro ... more

Fork of MPU6050 by Erik -

Revision:
6:502448484f91
Parent:
5:5873df1e58be
Child:
7:56e591a74939
--- a/MPU6050.h	Thu Feb 12 20:56:04 2015 +0000
+++ b/MPU6050.h	Thu Feb 12 21:01:38 2015 +0000
@@ -78,6 +78,8 @@
 #define Y_AXIS 2
 #define Z_AXIS 0
 
+#define RADIANS_TO_DEGREES 180/3.1415926536
+
 /** MPU6050 IMU library.
   *
   * Example: