Changed to Nucleo Board STM32 F303K8 version
Dependents: Test_MPU6050_F303K Test_CtrlBoard_F303K
Revision 2:d5452a87bd2d, committed 2020-03-12
- Comitter:
- st17099ng
- Date:
- Thu Mar 12 15:28:16 2020 +0000
- Parent:
- 1:1e0baaf91e96
- Commit message:
- Changed to Nucleo Board STM32 F303K8 version
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 |
--- a/I2Cdev.h Wed May 08 00:34:55 2013 +0000 +++ b/I2Cdev.h Thu Mar 12 15:28:16 2020 +0000 @@ -9,8 +9,8 @@ #include "mbed.h" -#define I2C_SDA p28 -#define I2C_SCL p27 +#define I2C_SDA D4 +#define I2C_SCL D5 class I2Cdev { private:
--- a/MPU6050.cpp Wed May 08 00:34:55 2013 +0000 +++ b/MPU6050.cpp Thu Mar 12 15:28:16 2020 +0000 @@ -83,8 +83,8 @@ #endif setClockSource(MPU6050_CLOCK_PLL_XGYRO); - setFullScaleGyroRange(MPU6050_GYRO_FS_250); - setFullScaleAccelRange(MPU6050_ACCEL_FS_2); + setFullScaleGyroRange(MPU6050_GYRO_FS_2000); + setFullScaleAccelRange(MPU6050_ACCEL_FS_16); setSleepEnabled(false); // thanks to Jack Elston for pointing this one out! #ifdef useDebugSerial