80C51單片機程序(3)
#include
#define uint unsigned int
#define uchar unsigned char
sbit D1=P2^6;
sbit W1=P2^7;
uchar num;
uchar code table[]= {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};
void delay(uint z);
void main()
{
}
void delay(uint z)
{
}
EEPW首頁 > 嵌入式系統(tǒng) > 設計應用 > 80C51單片機程序(3)
#include
#define uint unsigned int
#define uchar unsigned char
sbit D1=P2^6;
sbit W1=P2^7;
uchar num;
uchar code table[]= {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};
void delay(uint z);
void main()
{
}
void delay(uint z)
{
}
評論