For nucleoF103 change sda,scl to PB_7,PB_6
Dependents: AGV_0411 AGV_SMT_Sevro AGV_SMT
Fork of MPU6050-DMP by
Diff: I2Cdev.h
- Revision:
- 7:6b1b4bcaf494
- Parent:
- 6:fe57b4405983
- Child:
- 8:473800bd51ac
diff -r fe57b4405983 -r 6b1b4bcaf494 I2Cdev.h --- a/I2Cdev.h Wed Oct 25 08:08:53 2017 +0000 +++ b/I2Cdev.h Thu Apr 12 01:11:08 2018 +0000 @@ -9,8 +9,8 @@ #include "mbed.h" -#define I2C_SDA P0_23 -#define I2C_SCL P0_22 +#define I2C_SDA PB_7//P0_23 +#define I2C_SCL PB_6//P0_22 class I2Cdev { private: