In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Keil4+proteus 51 how to achieve single-chip microcomputer lighting led lights, in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
Keil + proteus 51 single Chip Microcomputer Lights led Lamp
Experimental environment:
Keil4 + proteus 8
Proteus
Action:
1. The name of the new project is random. The project has been done. two。 Get a chip in here and have some fun. Add 51 chip to make a yellow Happy 3. The components are in place. Set them up. Get the component to the board on the right. And add a power supply. Connect the line
OK, you can do the code.
I will also do a tutorial on the new project of keil here. After selecting the path, select CPU. Here we choose Atmel, select AT89C51, choose whether to create a new file or not, and name it at will (I name main.c)
Add file check box, otherwise there is no hex file. Write the code, Build project
Keil actions: cod
# includesbit led = P0 ^ 0 * void main () {led = 0; while (1) {}
}
After the Build project, right-click on the proteus chip, edit the attributes and import the hex file generated by keil.
Click to start the simulation.
On keil4+proteus 51 how to achieve single-chip microcomputer lighting led lights on the answer here, I hope the above content can be of some help to everyone, if you still have a lot of doubts have not been solved, you can follow the industry information channel to learn more related knowledge.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.