For nucleoF103 change sda,scl to PB_7,PB_6
Dependents: AGV_0411 AGV_SMT_Sevro AGV_SMT
Fork of MPU6050-DMP by
Revision 7:6b1b4bcaf494, committed 2018-04-12
- Comitter:
- WeberYang
- Date:
- Thu Apr 12 01:11:08 2018 +0000
- Parent:
- 6:fe57b4405983
- Child:
- 8:473800bd51ac
- Commit message:
- Change i2c_sda,scl to PB_7,PB_6
Changed in this revision
| I2Cdev.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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:
