#include codeunsignedcharseg7code[10]={0x3f,0x06,0x5b,0x4f, 0x66,0x6d,0x7d,0x07,0x7f,0x6f};//显示段码 sbitint1=P3^3;//定义管脚功能 sbitcs=P3^2; sbitwr=P3^6; sbitrd=P3^7; voidDelay(unsignedinttc)//显示延时程序 {while(tc!=0) {unsignedinti;