您的位置 首页 新能源

[C51代码]数码管段码

接法为:Px.0~Px.7-a~hunsignedcharcodedistab[16]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,//共阴数码管段选码表,无小数

接法为:Px.0~Px.7-a~h

unsigned char code distab[16]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07, //共阴数码管段选码表,无小数点
0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}
unsigned char code distab[16]={0xbf,0x86,0xdb,0xcf,0xe6,0xed,0xfd,0x87, //共阴数码管段选码表,有小数点
0xff,0xef,0xf7,0xfc,0xb9,0xde,0xf9,0xf1}
unsigned char code distab[16]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8, //共阳数码管段选码表,无小数点
0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e}
unsigned char code distab[16]={0x40,0x79,0x24,0x30,0x19,0x12,0x02,0x78, //共阳数码管段选码表,有小数点
0x00,0x10,0x08,0x03,0x46,0x21,0x06,0x0e}

声明:本文内容来自网络转载或用户投稿,文章版权归原作者和原出处所有。文中观点,不代表本站立场。若有侵权请联系本站删除(kf@86ic.com)https://www.86ic.net/qiche/xinnengyuan/275373.html

为您推荐

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

返回顶部