按键程序#include#defineucharunsignedchar#defineuintunsignedintsbitclk=P0^2;//指定位变量名的位置产生时钟脉冲sbitData=P0^3;//同上串行数据输入口voiddisplay(num);ucharnum,temp,qq,aa,c;ucharcod[]={0xb7,0x90,0x3d,0xb9,0x9a,0xab,0xaf,0xb0,0xbf,0xbb,0xbe,0x8f,0x27,0x9d,0x2f,0x2e};uintt1,y,z=0;voiddelay(){for