number

theoretical content

practice content

project objective

1

microcontroller minimum

system and pin function

Keil project establishment and C51 program structure

turn on an LED light

2

the data type of C51 language, the output of IO port of single-chip microcomputer

light a row of running lights by means of a cyclic addend

running water lamp left and right circulation

3

the operator and loop

structure of C51

with shift operator, shift function call, loop nested three ways, design pattern flow lam

a single flow light flashes 3 times before the left cycle

4

microcontroller IO port

input, C51 function

the use of independent keyboard, a variety of patterns designed into sub-functions

press the key to display different patterns