AT89C51单片机计数器汇编语言程序
AT89C51单片机计数器汇编语言程序
日期:2009-12-19 18:34:49 人气:1
#include
#define uint unsigned int
#define uchar unsigned char
uchar shi,ge,i=0,k;
uint x,m,n;
sbit led =P3^2;
sbit buzzer=P3^5;
uchar code table[10] = {0x03, 0x9f, 0x25, 0x0d, 0x99,
0x49, 0x41, 0x1f, 0x01, 0x09};
void de