User manual
PROFESIONAL, CREDITABLE, SUCCESSFULL DWIN DGUS v2.0 Specification
Beijing DWIN Technology Co., Ltd. - 29 - www.dwin.com.cn/en
5.2.3 The RTC Display(0x12)
Text RTC Display
Add.
Definition
Data Length
Description
0x00
0x5A12
2
0x02
*SP
2
Variable description pointer, 0xFFFF indicates loaded by config. file
0x04
0x000D
2
0x06
0x00
0x0000
2
0x08
0x01
X,Y
4
Display position. The coordinate is upper left point of displayed string.
0x0C
0x03
Color
2
Font color
0x0E
0x04:H
Lib_ID
1
Character position
0x0F
0x04:L
Font size
1
Number of X-direction dot matrix
0x10
0x05
String_Code
MAX16
Encoded string, using the RTC code tables and ASCII characters.
Suppose the current time is 2012-05-0212:00:00 Wednesday.
Y-M-D H: Q: S 0x00 will be displayed as 2012-05-02 12:00:00
M-D W H:Q 0x00 will be displayed as 05-02 WED 12:00
RTC coding table
Description
Coding
Display Format
Calendar year
Y
2000-2099
Calendar month
M
01-12
Calendar day
D
01-31
Calendar hour
H
00-23
Minute
Q
00-59
Second
S
00-59
Date
W
SUN MON TUE WED THU FRI SAT
Coding end
0x00
Dial Clock Display
Add.
Definition
Data
Length
Description
0x00
0x5A12
2
0x02
*SP
2
Variable description pointer, 0xFFFF indicates loaded by the config. file;
0x04
0x000D
2
0x06
0x00
0x0001
2
0x08
0x01
X,Y
4
Pointer center of Dial clock
0x0C
0x03
Icon_Hour
2
ID of Hour hand ICON, 0xFFFF indicates no display
0x0E
0x04
Icon_Hour_Central
4
Rotation center of Hour hand ICON
0x12
0x06
Icon_Minute
2
ID of Minute hand ICON, 0xFFFF indicates no display
0x14
0x07
Icon_Minute_Central
4
Rotation center of Minute hand ICON
0x18
0x09
Icon_Second
2
ID of Second hand ICON, 0xFFFF indicates no display
0x1A
0x0A
Icon_Second_Central
4
Rotation center of Second hand ICON
0x1E
0x0C:H
ICON_Lib
1
ICON Library ID which includes the pointer icons
0x1F
No defintion
1
Write 0x00










