![]() ![]()
We will see an LED blinking example using the onboard LED of an STM32 Nucleo board. The project created throughout this guide can be used as a boilerplate for the next projects based on the STM32 Nucleo-F401RE board.In this tutorial, we will learn to use GPIO pins of STM32 Nucleo board using Arduino IDE. ![]() NUCLEO F401RE EXAMPLE CODE HOW TOThis guide showed how to start developing for STM32 microcontrollers from within Visual Studio Code and the PlatformIO ecosystem. The initialization of a debug session will take some time and when the first line after the main function is highlighted the project is ready for debugging:ĭuring a debug session it’s possible to step through the code using control buttons, set breakpoints, see peripheral registers, and add variables to the Watch window: To start a debugging session you can use the Start Debugging option in the PlatformIO Quick Access menu, Debug: Start debugging from the top menu, or the hotkey button F5: PlatformIO offers the easiest way to debug your applications. > PlatformIO: UploadĪfter successful uploading, the green LED2 should start blinking.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |