8
Fork of MPU6050 by
Revision 2:e95fce319986, committed 2017-09-11
- Comitter:
- pyonta2017
- Date:
- Mon Sep 11 10:03:53 2017 +0000
- Parent:
- 0:662207e34fba
- Commit message:
- a
Changed in this revision
I2Cdev.h | Show annotated file Show diff for this revision Revisions of this file |
MPU6050.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 662207e34fba -r e95fce319986 I2Cdev.h --- a/I2Cdev.h Fri Jan 11 00:54:28 2013 +0000 +++ b/I2Cdev.h Mon Sep 11 10:03:53 2017 +0000 @@ -9,8 +9,8 @@ #include "mbed.h" -#define I2C_SDA p28 -#define I2C_SCL p27 +#define I2C_SDA p9 +#define I2C_SCL p10 class I2Cdev { private:
diff -r 662207e34fba -r e95fce319986 MPU6050.cpp --- a/MPU6050.cpp Fri Jan 11 00:54:28 2013 +0000 +++ b/MPU6050.cpp Mon Sep 11 10:03:53 2017 +0000 @@ -83,7 +83,7 @@ #endif setClockSource(MPU6050_CLOCK_PLL_XGYRO); - setFullScaleGyroRange(MPU6050_GYRO_FS_250); + setFullScaleGyroRange(002); setFullScaleAccelRange(MPU6050_ACCEL_FS_2); setSleepEnabled(false); // thanks to Jack Elston for pointing this one out!