7 years, 1 month ago.  This question has been closed. Reason: Unclear question

SDA-SCL of I2C1 on the board STM32L152RE NUCLEO output to which leg?

/media/uploads/dinhhieu7596/i2c1.png

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32L152RET6 microcontroller.

1 Answer

7 years, 1 month ago.

Hi You can choose which pin it comes out on in your declaration. For example:

I2C myI2C(PB_8, PB_6); 

You use either the "blue" pin names Pxx_y naming, or you can use the "green" pin names but only as shown (Dxx naming).

Bill

Accepted Answer