?? dongli_24h.h
字號:
typedef unsigned int32 UDWORD;
typedef unsigned long int UWORD;
typedef unsigned char UCHAR;
//報警時間存儲
#define a_year 0x10
#define a_month 0x11
#define a_date 0x12
//終止時間存儲
#define e_year 0x14
#define e_month 0x15
#define e_date 0x16
#define first_flag 0x18
#define pd_time 0x19//存儲切換時間間隔
//uchar up_flag=0 ;
//**************************************
struct time
{
uchar year;
uchar month;
uchar day;
uchar hour;
uchar min;
}realtime,endtime,startime,altime;
//**************************************************************
void write7279(unsigned char cmd,unsigned char dta);
void get_endate(uchar year,uchar month,uchar date);
//void disp_time();//顯示時間
unsigned char HEX_TO_BCD(unsigned char x);
char delay_int(UWORD c_time);
//*****************************************************************
//#use delay(clock=4000000,RESTART_WDT)
//#fuses XT,WDT
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -