Recently, many netizens have inquired about the operation of keil5 using C51. In order to help everyone solve their problems, the editor here has specially shared the operation tutorial about keil5 using C51. Friends in need should not miss it.
First open the Keil5 software and enter the interface.
Create a project, click Project, select the first one, create a new project, give a name, click OK, and the interface as shown will appear.
Select Atmel, find AT89C51 and select it, another interface will appear, then select "No".
At this time, the project bar appears on the left side of the window. If it does not appear, click "View" in the toolbar and select the third "Project Window" to appear. At this time, the project has been created.
Create a project in the project. The operation is as shown in the figure. Add a name to the project. Note that if the project is written in C language, the project name will be appended with ".C". If it is a project written in C++, then ".Cpp" will be appended to the name. .
Then you can write the program in the window. After writing, click the "build" and "rebuild" buttons in the upper left corner of the window to compile. Observe the "project output" below. If there are no errors, the compilation is completed.
If you want to burn the program, you also need to produce a HEX file. The specific operation is to click the "option for target" button, enter the interface, select "Output", and select "Creat HEX file".
Friends who still don’t know how to use C51 by keil5, don’t miss this article brought by the editor.