80c51单片机用外部中断1(按下按钮)实现分数的加功能,用外部中断0(按下...答:include<reg51.h>#define uchar unsigned charuchar tab[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x00}; //0到9uchar num,cnt;unsigned int disn;uchar led[]={0,0,0,0};void dealdat(uchar a){led[0]=disn/1000;led[1]=(disn%1000)/100;led[2]=(disn%...