新聞中心

EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > [C51代碼]數(shù)碼管段碼

[C51代碼]數(shù)碼管段碼

作者: 時間:2016-11-10 來源:網(wǎng)絡(luò) 收藏
接法為:Px.0~Px.7-a~h
unsigned char code distab[16]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07, //共陰數(shù)碼管段選碼表,無小數(shù)點(diǎn)
0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}

unsigned char code distab[16]={0xbf,0x86,0xdb,0xcf,0xe6,0xed,0xfd,0x87, //共陰數(shù)碼管段選碼表,有小數(shù)點(diǎn)
0xff,0xef,0xf7,0xfc,0xb9,0xde,0xf9,0xf1}

unsigned char code distab[16]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8, //共陽數(shù)碼管段選碼表,無小數(shù)點(diǎn)
0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e}
unsigned char code distab[16]={0x40,0x79,0x24,0x30,0x19,0x12,0x02,0x78, //共陽數(shù)碼管段選碼表,有小數(shù)點(diǎn)
0x00,0x10,0x08,0x03,0x46,0x21,0x06,0x0e}


關(guān)鍵詞: C51代碼數(shù)碼管段

評論


技術(shù)專區(qū)

關(guān)閉