stmhal/boards: For STM32F411DISC, change I2C pin according to datasheet.
The pin had to be changed to get the I2C sensors on board to work.
This commit is contained in:
parent
16a3534ad4
commit
f92f7dd2bc
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
// I2C busses
|
// I2C busses
|
||||||
#define MICROPY_HW_I2C1_SCL (pin_B6)
|
#define MICROPY_HW_I2C1_SCL (pin_B6)
|
||||||
#define MICROPY_HW_I2C1_SDA (pin_B7)
|
#define MICROPY_HW_I2C1_SDA (pin_B9)
|
||||||
//#define MICROPY_HW_I2C2_SCL (pin_B10)
|
//#define MICROPY_HW_I2C2_SCL (pin_B10)
|
||||||
//#define MICROPY_HW_I2C2_SDA (pin_B11)
|
//#define MICROPY_HW_I2C2_SDA (pin_B11)
|
||||||
#define MICROPY_HW_I2C3_SCL (pin_A8)
|
#define MICROPY_HW_I2C3_SCL (pin_A8)
|
||||||
|
|
Loading…
Reference in New Issue