-
Hello, I tried everything, but the I2C1 ( PB8 -> I2C1_SCL and PB09 -> I2C1_SDA ) with the Wire library does not work. What's wrong :-( ? See code below:
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @epikao,
By the way, by default, I2C pins are configured without internal pullup (thus requiring external pullup) so you don't need to remove internal pull up. So just remove those 2 lines and I hope that would be good.
|
Beta Was this translation helpful? Give feedback.
-
Hello, I have found the error. Although the display manufacturer states PB8 and PB9 as the I2C port, this is not true, it is PH8 and PH7. |
Beta Was this translation helpful? Give feedback.
Hello, I have found the error. Although the display manufacturer states PB8 and PB9 as the I2C port, this is not true, it is PH8 and PH7.
I do not understand, but it works...