📄 user.h
字号:
#define LCDCOM XBYTE[0xb000] /* LCD Command Address */
#define LCDDAT XBYTE[0xb100] /* LCD Date Address */
#define P128870 XBYTE[0xa000] // DS12887 second
#define P128871 XBYTE[0xa001] // DS12887 second alarm
#define P128872 XBYTE[0xa002] // DS12887 minute
#define P128873 XBYTE[0xa003] // DS12887 minute alarm
#define P128874 XBYTE[0xa004] // DS12887 hour
#define P128875 XBYTE[0xa005] // DS12887 hour alarm
#define P128876 XBYTE[0xa006] // DS12887 week
#define P128877 XBYTE[0xa007] // DS12887 day
#define P128878 XBYTE[0xa008] // DS12887 month
#define P128879 XBYTE[0xa009] // DS12887 year
#define P12887a XBYTE[0xa00a] // DS12887 register A
#define P12887b XBYTE[0xa00b] // DS12887 register B
#define P12887c XBYTE[0xa00c] // DS12887 register C
#define P12887d XBYTE[0xa00d] // DS12887 register D
sbit LED=P1^5; // 发光二极管控制位
sbit Comm_Port=P1^6; //串口通讯有效控制位
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -