--------------------------------------------------------------------------------------------------
#include
#define uint unsigned int
#define uchar unsigned char
uchar code table[]="The Tem is
uchar code table1[]="00:00:00";
uchar code table2[]="MON TUE WEN THU FRI SAT SUN";
uchar code wendu[]="0123456789";
sbit lcdrs=P1^4;
sbit lcdrw=P1^5;
sbit lcden=P1^6;
uint num;
uchar count,shi,fen,miao,xq,t,tt;
void delay(uint z);
void write_com(uchar com)
{
}
void write_date(uchar date)
{
}
void init()
{
}
void write_sfm(uchar add,uchar date) //第一个参数为地址,第二个参数为数据
{
}
void write_xq(uchar xq)
{
}
void showtime()
{
}
void main()
{
}
void timer0() interrupt 1
{
}
void delay(uint z)
{
}
上一篇:HT46ru232单片机简介
下一篇:利用E2PROM写的一个时钟
推荐阅读最新更新时间:2024-03-16 14:39