1、 亲测可用的
unsigned char Tab[] = {0xc0,0xF9,0xa4,0xb0,0x99,0x92,0x82, 0xf8,0x80,
0x90, 0x88,0x83,0xc6,0xa1,0x86,0x8e,0x8c,0xc1,0x91,0x7c,0xff,0x7f,0x00};//0 1 2 3 4 5 6 7 8 9 A B C D F P U Y L 灭 . 亮// 共阳数码管
unsigned char Tab2[] = {0x40,0x79,0x24,0x30,0x19,0x12,0x02,0x78,0x00,0x10,0x08,0x03,0x46,0x21,0x06,0x0e}; //带小数点0~F //共阳数码管
2. 几个链接
共阳极、共阴极数码管编码表(0~9、A~P……全亮)_零碎@流年絮语的博客-CSDN博客_共阴极数码管编码表