Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to use keil to build a single Chip Microcomputer Project

Shulou Source: shulou.com Published: 2022-06-02 05:21:42 10月28日 Update

This article mainly introduces "how to use keil to build a single-chip microcomputer project". In daily operation, I believe many people have doubts about how to use keil to build a single-chip microcomputer project. The editor consulted all kinds of data and sorted out a simple and easy-to-use method of operation. I hope it will be helpful to answer the doubts about "how to build a single-chip microcomputer project with keil". Next, please follow the editor to study!

If you don't say much, let's get to the point right away.

Step 1: open keil and click on Project to select New Project.

Click New Project

Step 2: an interface will come out after clicking New Project. The purpose is to let us choose the project save path and the project name. Here we choose the project name as Toutiao experiment, and click Save.

Select Atmel

Step 4: click At89c51 after selecting Atmel, then click OK

Select New

Step 6: click Save (Save)

Named Toutiao experiment. C

Step 8: double-click Source Group 1 to add the .c file we created to the project

Add Fil

Step 10: then write down the code you want to down. the following code is the part of the code that you must have to compile 51 single-chip microcomputer. if you need to add other functions, add it on this basis.

Click to set Target Options

Step 12: check the create HEX File option box under the Output option box

Generate the target file

At this point, the study on "how to use keil to build a single-chip microcomputer project" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Engineering single-chip microcomputer selection learning code files headlines more experiments help practical next the following figure content function foundation that is article method main topic Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL NVidia Linux Apple Xiaomi