Skip to content

Commit f92f7dd

Browse files
jwagendpgeorge
authored andcommitted
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.
1 parent 16a3534 commit f92f7dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stmhal/boards/STM32F411DISC/mpconfigboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
// I2C busses
3737
#define MICROPY_HW_I2C1_SCL (pin_B6)
38-
#define MICROPY_HW_I2C1_SDA (pin_B7)
38+
#define MICROPY_HW_I2C1_SDA (pin_B9)
3939
//#define MICROPY_HW_I2C2_SCL (pin_B10)
4040
//#define MICROPY_HW_I2C2_SDA (pin_B11)
4141
#define MICROPY_HW_I2C3_SCL (pin_A8)

0 commit comments

Comments
 (0)