To learn about microcontrollers, you need to use code compilation software such as Keil. Beginners need to start from the first step of creating a new project. Only by doing the first step well can they go further and further.
Tools/Raw Materials
Computer, Keil software
Methods/Steps
- Open the Keil software, find the project, and there is a new uvision project in the drop-down menu. Click this project and a project path will appear.
- Customize the project name and save location.
- Select the manufacturer of the MCU chip that needs to be burned and the corresponding chip model
After the previous step is completed, a prompt will appear. Click Yes to generate a 51 startup file. If not, it will not appear. As shown in the figure, click Yes.
The above steps create a new project. We can directly add existing files. This time we will introduce how to create a new file by yourself. Click the New button in the title bar, and a random text1 will appear. Click the Save button, and the following dialog box will appear. If it is C language, add .c to the end of the file name. If it is assembly language, add the suffix .asm
Select source group 1, right click, and an add files to source group 1 pops up. Click OK
You can see the file you just saved. We can select it or other required files, click add, and confirm.
- Now we have successfully established a project framework. All that remains is for us to add code to it and build our own building.
Previous article:Ultrasonic distance measurement + temperature + alarm microcontroller code
Next article:Full color RGB wall clock made of STC8 microcontroller + DS3231 + WS2812
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- How to achieve constant temperature between 2 and 8 degrees
- Reverse application of buzzer chip
- How does this circuit achieve the baseline restoration function?
- Xunwei i.MX6ULL Terminator Thread Basics Thread Termination and Recycling
- LED matrix display for dot pixel art
- The much-anticipated "China Chip" will be launched today. Are chip stocks still attractive?
- Driver and app
- TI DSP C6657 Learning - Compiling static library .lib
- tree Command
- What are the categories of edge computing devices?