#include#define uchar unsigned char#define uint unsigned int//0~9 的段码uchar code DSY_CODE[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x00};//计数值分解后各个待显示的数位uchar DSY_Buffer[]= ...<全部>
- 5
#includereg51.h>#define uchar unsigned char#define uint unsigned intsbit K3=P3^4; //2 个清零键sbit K4=P3^5; //数码管段码与位码uchar code DSY_CODE[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0 ...<全部>
- 184
单片机C语言程序设计中的INT0 中断计数