:The single-chip microcomputer is a very practical subject. For this reason, we break through the traditional thinking and focus on the single-chip microcomputer experiment. Starting from a simple running light, we gradually lead everyone to become familiar with and understand the instructions of the single-chip microcomputer from these simple programs of a few or more than ten lines. Tutorial on learning instructions to make single-chip microcomputers: learning instructions through experiments... Reprinting without permission is prohibited! Through the experiment, learn the instruction 1: set all ports high and low at the same time, and flash continuously. Through the experiment, learn the instruction 2: p1 port 3-way running lights. Understand the relationship between binary numbers and ports. Through the experiment, learn the instruction 3: single-chip microcomputer addition: send 52h+0fch result to p1 port. Through the experiment, learn the instruction 4: single-chip microcomputer multiplication: send ff*03h result to p1. Through the experiment, learn the instruction 5: single-chip microcomputer binary addition. Through the experiment, learn the instruction 6: single-chip microcomputer two-bit counter. Through the experiment, learn the instruction 7: learn the logic operation of the single-chip microcomputer. Through the experiment, learn the instruction 8: further learn the logic operation of the single-chip microcomputer. Through the experiment, learn the instruction 9: circular shift instruction running lights. Through the experiment, learn the instruction 10: understand and be familiar with the scattered transfer structure program. Through the experiment, learn the instruction 11: learn the bit operation instruction. Through the experiment, learn the instruction 12: learn the comparison instruction and cy bit. Through the experiment, learn the instruction 13: the function of the program is to make a small speaker 1khz signal. Through the experiment, learn the instruction 14: press p3.510 times p1 port led According to binary plus 1, use the timer to achieve a long delay through experimental instruction 15. Through experimental instruction 16, the small speaker of p3.3 outputs 1khz. Through experimental instruction 17, the keyboard digital tube of p3.2 displays 0. Through experimental instruction 18, the response of interruption, two-level interrupt nesting. Through experimental instruction 19, the structure of sequential program. Through experimental instruction 20, the LED of port p1 flashes 10 times and then stops the nesting of subroutines.
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore