解决方案
#include
#include
#define uchar unsigned char
#define uint unsigned int
uchar code tabledu[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,
0xf8,0x80,0x90};
uchar code tablewe[]={0xff,0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};
uchar bai,shi,ge,num,flag;
uint shu;
void delay1(uchar);
void display(uchar ba,uchar sh,uchar g);
sbit scl=P3^3;
sbit sda=P3^4;
sbit le=P3^6;
sbit leden=P2^5;
sbit wkle=P3^7;
void delay()
{
}
void init()
{
}
void start()
{
}
void stop()
{
}
void write_byte(uchar dat)
{
}
uchar read_byte()
{
}
void respon()
{
}
void write(uchar add,uchar dat)
{
}
uchar read(uchar add)
{
}
void main()
{
}
void time0() interrupt 1
{
}
void display(uchar ba,uchar sh,uchar g)
{
}
void delay1(uchar a) {
}
上一篇:单片机学习——IIC总线及EEPROM实验之一
下一篇:单片机学习——lcd1602显示实验之二
推荐阅读最新更新时间:2024-03-16 14:44