Proteus, keil5 simulation run stm32 program, detailed tutorial of running water lamp
keile5
Regarding the configuration of Keil5, I refer to another blogger’s blog, here is a link
Link: https://www.cnblogs.com/yf4695/p/9158689.html .
1. New construction
1. Click on project
2. Name the project
3. Select STM32F103XX chip
4. Finish
2. Writing and configuring libraries and code
Enter keil 5 and select Option for Target, then check Create HEX file to generate a hex file.
Add folder
Three. Compile
Compile and run
4). This is the running light program found on the Internet, just compile and run
protues8
1. New construction
1. Click on project
Modify project name and location
2. Choose to create a schematic (DEFAULT) from the selected template.
3. Choose not to create a PCB layout design.
4. Select to create a solid state, select the type of microcontroller, and complete the creation
5. Add device
simulation
This is the effect of our operation
to sum up
The blogger introduced the entry method of stm32 this time. For those of us who have a certain 51 series microcontrollers, stm32 has a certain degree of difficulty, but they have a lot in common, so the blogger recommends big We must earnestly lay the foundation and improve our SCM level. In addition, if you have any academic issues to discuss, please pay attention to my personal WeChat public account,WeChat search h life silhouetteLooking forward to your attention, we will make progress together.