?? main.h
字號:
#ifndef _MAIN_H
#define _MAIN_H
#include <AT89x52.h>
#include <intrins.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define OSC_FREQ (11059200UL)
#define OSC_PER_INST (12)
#define NUM_MAX 8192
typedef unsigned char tByte;
typedef unsigned int tWord;
typedef unsigned long tLong;
// Misc #defines
#ifndef TRUE
#define FALSE 0
#define TRUE (!FALSE)
#endif
#define ERROR_I2C_WRITE_BYTE (10)
#define ERROR_I2C_READ_BYTE (11)
#define ERROR_I2C_WRITE_BYTE_AT24C64 (12)
#define ERROR_I2C_READ_BYTE_AT24C64 (13)
#endif
void Init();
void SendData(tWord Pos);
void CorrectTime();//校正時(shí)間
void DisplayInfo(tByte Info[]);
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -