51 Development Environment Construction--KeilC51 Installation and Project Creation

Publisher:FreeSpirit123Latest update time:2024-08-19 Source: cnblogs Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Learning the development of single-chip microcomputers is far from enough to rely on the knowledge in books. You must actually operate programming to understand the knowledge points in the book and achieve the effect of mastering it. 51 single-chip microcomputers are entry-level single-chip microcomputers - easy to use, rich online resources, single-chip microcomputer stability and resources are relatively rich, and the program can be downloaded through the serial port at a low cost. This article will introduce the installation of the development environment KeilC51 and the creation of the project.

Tools/Raw Materials

  • KeilC519.00 installation package

Methods/Steps

  1. Download the installation package and search for the corresponding installation package in Baidu. I use version V9.00

    51 Development Environment Construction--KeilC51 Installation and Project Creation

  2. Double-click the installation package and click Next to install. If you need to select the installation path, the intermediate steps can be changed.

    51 Development Environment Construction--KeilC51 Installation and Project Creation

  3. After the installation is complete, open the software and click on the icon to create a new project.

    51 Development Environment Construction--KeilC51 Installation and Project Creation

  4. Enter the project name and click Save

    51 Development Environment Construction--KeilC51 Installation and Project Creation

  5. Select the model of the microcontroller and select Atmel's AT89C51. Click OK and then click Yes.

    51 Development Environment Construction--KeilC51 Installation and Project Creation

    51 Development Environment Construction--KeilC51 Installation and Project Creation

  6. Create a new file and save it as main.c

    51 Development Environment Construction--KeilC51 Installation and Project Creation

  7. Right-click on the project "Source Group 1" and select the menu icon to add the file just now to the project

    51 Development Environment Construction--KeilC51 Installation and Project Creation

  8. Click the Compile button to compile the written code.

    51 Development Environment Construction--KeilC51 Installation and Project Creation


Reference address:51 Development Environment Construction--KeilC51 Installation and Project Creation

Previous article:Microcontroller Learning Notes (II) - Simple Applet
Next article:Detailed explanation of idata, xdata, pdata, and data of 51 MCU

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号