10 years, 1 month ago.

How do I know what pins are available

I'm just getting used to mbed, how do I know what to put as the pin name when I declare a DigitalOut object? I'm using an stm32nucleo board, and the pins are not named like the example on the board.

Question relating to:

OK - I found out that I need to the page for the device I've selected, on that page is a diagram of the pinout, with the names that should be used. In my case, this page is this one: http://developer.mbed.org/platforms/ST-Nucleo-F030R8/

posted by Geoffrey Lansberry 09 Oct 2014

There is also a header file called PinNames.h in your nucleo Target folder which has the declarations of the Pin Names.

posted by Manos Kav 13 Oct 2014

1 Answer

10 years, 1 month ago.

OK - I found out that I need to the page for the device I've selected, on that page is a diagram of the pinout, with the names that should be used. In my case, this page is this one: http://developer.mbed.org/platforms/ST-Nucleo-F030R8/

Accepted Answer