PinName definitions

I want to use the UART but the example has D0 and D1 as pin names. Those names don’t work. My question is: What should I use for pin names? Also, is there an I/O map with names anywhere?


Hi there,

I do not know what board you have so I cant show you exact example but it is simple. Find a page of your board here on Mbed web for example NucleoL152RE scroll down to middle of the page where you can found section Board pinout and there are some pictures and links.

I hope that will help

BR, Jan

Thank you for responding. I found the pin names in a different demo program. Instead of D0 it is supposed to be PD_0.