It also describes how to program with serial. On the “Blue Pill” board the LED is connected to PC13, so in the blink example, the output pin will need to be changed from PB1 to PC13 in all 3 locations for the LED to blink.Ī good tutorial for this board can be found here by Alselectro. In the Arduino IDE, Click “File > Examples > A STM32_Examples > Digital > Blink” Select the correct microcontroller and “ST-Link” as the Upload method.Ĭonnect the ST-Link V2 programmer to the STM32 board. Install the “STM32F1xx/GD32F1xx boards” package. Next, go to “Tools > Board > Board Manager”, wait for the list to download and search “STM32F1”. Click the icon to the right to show a multiline textbox.Ĭlick “OK” to close the preferences window. Add the following link to the “Additional Boards Manager URLs” text box. In the Arduino IDE, go to “File > Preferences”. Installing the board into the Arduino IDE: STM32F1xx series microcontroller based board (i.e.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |