51單片機(jī)C編程(二、按鍵控制數(shù)碼管顯示)
sbit k1=P3^0;
sbit k2=P3^1;
char tab[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x02,0xf8,0x00,0x10};
void delay(int x)
{
}
void main()
{
}
EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > 51單片機(jī)C編程(二、按鍵控制數(shù)碼管顯示)
sbit k1=P3^0;
sbit k2=P3^1;
char tab[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x02,0xf8,0x00,0x10};
void delay(int x)
{
}
void main()
{
}
評論