MPU6050 library that is kinda beta and will probably never leave beta but it might help some people.
Fork of MPU6050 by
Revision 3:969aeacd8ace, committed 2014-06-05
- Comitter:
- stepJun
- Date:
- Thu Jun 05 12:03:19 2014 +0000
- Parent:
- 2:5c63e20c50f3
- Commit message:
- ok
Changed in this revision
MPU6050.cpp | Show annotated file Show diff for this revision Revisions of this file |
MPU6050.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5c63e20c50f3 -r 969aeacd8ace MPU6050.cpp --- a/MPU6050.cpp Mon Sep 10 21:26:25 2012 +0000 +++ b/MPU6050.cpp Thu Jun 05 12:03:19 2014 +0000 @@ -211,7 +211,7 @@ data[1]=(float)temp[1] / 1879.3; data[2]=(float)temp[2] / 1879.3; } - if (currentGyroRange == MPU6050_GYRO_RANGE_2000){ + if (currentGyroRange == MPU6050_GYRO_RANGE_2000){ //rad/s data[0]=(float)temp[0] / 939.7; data[1]=(float)temp[1] / 939.7; data[2]=(float)temp[2] / 939.7;
diff -r 5c63e20c50f3 -r 969aeacd8ace MPU6050.h --- a/MPU6050.h Mon Sep 10 21:26:25 2012 +0000 +++ b/MPU6050.h Thu Jun 05 12:03:19 2014 +0000 @@ -16,7 +16,7 @@ * Defines */ #ifndef MPU6050_ADDRESS - #define MPU6050_ADDRESS 0x69 // address pin low (GND), default for InvenSense evaluation board + #define MPU6050_ADDRESS 0x68 // address pin low (GND), default for InvenSense evaluation board #endif #ifdef MPU6050_ES