英文字母在数码管显示中的对照字符
常用数码管显示数组
(一)共阳极数码管编码表:
(内容为十六进制)
unsigned char code smg[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e};
(内容为'熄灭',' - ',' .')
unsigned char code smg_str[]={0xff,0xbf,0x7f};
(内容为十六进制带小数点)
unsigned char code smg_point[]={0x40,0x79,0x24,0x30,0x19,0x12,0x02,0x78,0x00,0x10,0x08,0x03,0x46,0x21,0x06,0x0e};
(二)共阴极数码管编码表:
(内容为十六进制)
unsigned char code smg[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71};
(内容为'熄灭',' - ',' .')
unsigned char code smg_str[]={0x00,0x40,0x80};
(内容为十六进制带小数点)
unsigned char code smg_point[]={0xbf,0x86,0xdb,0xcf,0xe6,0xed,0xfd,0x87,0xff,0xef,0xf7,0xfc,0xb9,0xce,0xf9,0xf1};
如有错误请指正