Hot search terms: 360 Security Guard Office365 360 browser WPS Office iQiyi Huawei Cloud Market Tencent Cloud Store
programming tools Storage: 1018.21MB Time: 2021-08-25
Software introduction: Keil5 is a very friendly and powerful C language software development system. Keil5 software provides users with a clear and intuitive operation interface, which is relatively...
How to use Keil5 to write source code? There may be many friends who don’t know how to do it yet, so those who don’t know how to do it should come and learn how to use Keil5 to write source code with the editor. I hope that through the study of this tutorial, it can help Everyone.
1. First, open Keil5, create a new project, and click the first new project option of Proctect.
2. Then select the microcontroller chip you need to download, usually AT89C51.
3. Create a new text and save the text. The code is written in assembly language and saved as an .asm file. If the code is written in C language, it is saved as a .c file.
4. Save the saved text into Source Group1. Right-click Source Group1, select Add Exitting, find the file you just saved and add it.
5. After completing the above steps, you can write code in the text.
6. After writing and compiling, if there is no ERROR, it means there is no syntax error. If there is an error, find the error and observe it.
Note: Make sure that the first 4 steps are correct before the code written later can be compiled successfully.
The above is the method of writing source code using Keil5 brought by the editor. I believe it can help everyone.
How to view hidden files in winrar? -Winrar method to view hidden files
How to compress winrar files to the smallest size? -winrar method to compress files to the smallest size
How to set password for winrar? -How to set password in winrar
How to set winrar to Chinese? -How to set Chinese in winrar
How to record ppt in ev screen recording-How to record ppt in ev screen recording
What to do if there is no sound after reinstalling the computer system - Driver Wizard Tutorial
How to practice typing with Kingsoft Typing Guide - How to practice typing with Kingsoft Typing Guide
How to upgrade the bootcamp driver? How to upgrade the bootcamp driver
How to change QQ music skin? -QQ music skin change method
Driver President Download-How to solve the problem when downloading driver software is very slow