📄 main.c
字号:
#include <REG52.H>
char dat[]={0,8,11,0,8,11,0,8,12,0,8,10,0,8,10,0,8};
char tmp,flg,flg1;
char dat1[]={0,8,11,0,8,11,0,8,12,0,8,10,0,8,10,0,8};
char dat2[]={0,8,11,0,8,11,0,8,12,0,8,10,0,8,10,0,8};
char dat3[]={0,0,11,0,0,11,0,0,11,0,0};
#include "CM160128C.h"
#include "DS1302.h"
#include "set.h"
main()
{
LCD_CE=0;
LCD_Init();
Initial_DS1302();
hazi();
flg=0; flg1=0;
while(1)
{
gettime();
noline(2,3,dat);
noline(3,3,dat1);
noline(4,3,dat2);
no_inv(5,6,dat3);
inv_time();
if(!p10)int_time();
set_time();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -