postion.h
来自「为电子工业出版社的51单片机C语言常用模块与综合系统设计实例精讲随书光盘」· C头文件 代码 · 共 96 行
H
96 行
//#define HB320
#define SHOW_WEEK
/******define screen postion******/
#define POS_TIMEX 60
#define POS_TIMEY 20
#define POS_SHOW_WDX 64
#define POS_SHOW_WDY 130
#define POS_STOREY_ORGX 26
#define POS_STOREY_ORGY 30
#define STOREY_WIDTH 14
#define STOREY_HEIGHT 170
#define POS_BLUET_X 64
#define POS_BLUET_Y 150
#define POS_ARROW_ORGX 5
#define ARROW_WIDTH 12
#define ARROW_HEIGHT 97
#define ARROW_MOVE_STEP 15
#define POS_SEPLINE_ORGY 220
#define SEPLINE_WIDTH 5
#define POS_NOTICE_TOP 230
#define POS_NOTICE_LINE_HIGH 60
#define QW_HZ_SPACE 6 //汉字占的列数
#define QW_ASSCII_SPACE 3 //英文占的列数
#define POS_NOTICE_ORGX 0 //列开始位置
#define POS_NOTICE_SINGEL_LINE_ORGY 291
#define POS_NOTICE_DOUBLE_LINE_ORGY1 255
#define POS_NOTICE_DOUBLE_LINE_ORGY2 328
#define POS_NOTICE_TRIAD_LINE_ORGY1 236
#define POS_NOTICE_TRIAD_LINE_ORGY2 290
#define POS_NOTICE_TRIAD_LINE_ORGY3 344
#define STATAREA_TOP 10
#define STATAREA_LEFT 5
#define STATAREA_WIDTH 20
#define STATAREA_HEIGHT 190
#define POS_NOSMK_ORGX 6
#define POS_NOSMK_ORGY 252
#define NOSMK_WIDTH 16
#define NOSMK_HEIGHT 128
#define POS_WATCH_ORGX 30
#define POS_WATCH_ORGY 252
#define WATCH_WIDTH 16
#define WATCH_HEIGHT 128
#define POS_WATCH_ORGY 252
#define WATCH_HOUR_LEN 20
#define WATCH_MINUTE_LEN 30
#define MAX_WATCH_POINTER_LEN 33
#define POS_CENTER_ORGX 59
#define POS_CENTER_ORGY 68
#define POS_OTIS_ORGX 54
#define POS_OTIS_ORGY 265
#define OTIS_WIDTH 16
#define OTIS_HEIGHT 50
#define POS_XZOTIS_ORGX 54
#define POS_XZOTIS_ORGY 252
#define XZOTIS_WIDTH 16
#define XZOTIS_HEIGHT 50
#define POS_WEIGHT_ORGX 49
#define POS_WEIGHT_ORGY 352
#define WEIGHT_WIDTH 16
#define WEIGHT_HEIGHT 43
#define POS_PERSON_ORGX 64
#define POS_PERSON_ORGY 352
#define PERSON_WIDTH 16
#define PERSON_HEIGHT 40
#define POS_DATE_ORGX 52
#define POS_DATE_ORGY 245
#define FIRE_ORGX 10
#define FIRE_ORGY 235
#define FIRE_WIDTH 60
#define FIRE_HEIGHT 136
#define OVLD_ORGX 10
#define OVLD_ORGY 235
#define OVLD_WIDTH 60
#define OVLD_HEIGHT 136
#define STOP_ORGX 0
#define STOP_ORGY 235
#define STOP_WIDTH 80
#define STOP_HEIGHT 136
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?