On completion of ten days MCU 51

MCU 51 day study

Lecture microcontroller preliminary knowledge of how to light a light emission tube

Level characteristic: high and low

There are common hex: binary, hexadecimal

Related operations: 1 and 1 operation while it is 1, and 0 otherwise.
2. or operational side is 1, 1.
3. The non-operation of a non-operation is a NAND operation 0,0.
4. The exclusive OR operation is different from 1, 0 is the same.

c-51 Data Type Expansion
sfr: special function register declaration (not used)
the sbit: Special function bits Statement

sbit do = p1^0;

Common reg52.h math.h ctype.h stdio.h library reg51.h
stdlib.h absacc.h
Here Insert Picture Description
to stc89c52, for example, to the microcontroller programming

Published an original article · won praise 2 · views 66

Guess you like

Origin blog.csdn.net/csdn_sum/article/details/105148912