📄 clocktime.h
字号:
#include "newtype.h"
#include "c8051f020.h"
#include "ds1302.h"
#include "lcd12864-12.h"
#include <STRING.H>
extern uchar * IntToStr(uint Number,bit trim0,uchar len);
//sbit BF=r8data^7;
sbit tempint=ADC0CN^5;
sbit tempbusy=ADC0CN^4;
void ShowDateTime();
void ShowTime();
void ShowTemp();
//void setDateTime();
void setDateTime();
unsigned char BCD_TO_HEX(unsigned char bcd_data) ;
unsigned char HEX_TO_BCD(unsigned char hex_data);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -