proteus交通灯
#include#defineucharunsignedchar#defineuintunsignedintunsignedcharcodeledChar[]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,//CA数码管编码0x80,0x90,0x88,0x83,0xC6,0xA1,0x86,0x8E};unsignedcharledBuff[2]={0xFF,0xFF//初始化数码管};uintcount=0;uintx=
#include#defineucharunsignedchar#defineuintunsignedintunsignedcharcodeledChar[]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,//CA数码管编码0x80,0x90,0x88,0x83,0xC6,0xA1,0x86,0x8E};unsignedcharledBuff[2]={0xFF,0xFF//初始化数码管};uintcount=0;uintx=