STM has datasheets for their evaluation boards where you can see the mappings of LEDs/SWs/Pins to GPIO names in the code.
I have iMXRT1050-EVKB which has 4 diodes. How can I turn on/off each one of them?
In the blinky example one of them is defined as EXAMPLE_LED_GPIO_PIN
GPIO_PinWrite(EXAMPLE_LED_GPIO, EXAMPLE_LED_GPIO_PIN, 0U);
If I follow this define I find out that BOARD_USER_LED_PIN is defined as 9U.
Solved! Go to Solution.
You can find all res about MIMXRT1050-EVKB from below link:
Yes, we don't detailed mappings of LEDs/SWs/Pins to GPIO names as STM, you need to check board SCH to find details. and there is just one user LED on the board, other LEDs cannot be controlled by user (they are • Reset RED LED (D15), • OpenSDA LED (D16), etc)
You can find all res about MIMXRT1050-EVKB from below link:
Yes, we don't detailed mappings of LEDs/SWs/Pins to GPIO names as STM, you need to check board SCH to find details. and there is just one user LED on the board, other LEDs cannot be controlled by user (they are • Reset RED LED (D15), • OpenSDA LED (D16), etc)
This is what I was looking for. Thank you.
It is useful also for Arduino pinout. However, I found out that in ConfigTools, when I configure pins I can see labels like A0, A5... and D1...D13.