共阴极数码管编码(0---F)unsigned char code table[]={0x3f,0x06,0x5d,0x4f,0x66,0x6d,0x77,0x7c,0x39,0x5e,0x79,0x71};共阳极数码管编码unsigned char code table[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e};