共阳极数组0~9:display[]={0xC0,0xF9,0xA4,0xB0,0x91,0xA2,0x82,0xF8,0x80,0x90}
共阳极数组A~F:display[]={0x88,0x83,0xA6,0xC1,0x86,0x8E}
共阴极数组0~9:display[]={0x3F,0x06,0x5B,0x4F,0x6E,0x6D,0x7D,0x07,0x7F,0x6F}
共阴极数组A~F:display[]={0x77,0x7C,0x59,0x3E,0x79,0x71}
共阴、两组四位一体数码管,位选接74LS138译码器,输入(位选)CBA接P20,P21,P22。段选通过74573后接P1口。