用定时器0中断方式间隔2s在数码管显示0—f
#include<reg52.h>
#define uchar unsigned char
#define uint unsigned int
uchar num,tt;
sbit dula=P2^6;
sbit wela=P2^7;
sbit d1=P1^0;
void delay(uint z);
uchar code table[
用定时器0中断方式间隔2s在数码管显示0—f
#include<reg52.h>
#define uchar unsigned char
#define uint unsigned int
uchar num,tt;
sbit dula=P2^6;
sbit wela=P2^7;
sbit d1=P1^0;
void delay(uint z);
uchar code table[