5 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?


Question relating to:

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

1 Answer

5 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).


Accepted Answer