User manual
PROFESIONAL, CREDITABLE, SUCCESSFULL DWIN DGUS v2.0 Specification
Beijing DWIN Technology Co., Ltd. - 18 - www.dwin.com.cn/en
4.6 Button Result Value for Return(0x05)
Add.
Definition
Data length
Description
0x00
Pic_ID
2
Page ID
0x02
TP_Area
8
Touch button areas:(X
s
,Y
s
)(X
e
,Y
e
)
0x0A
Pic_Next
2
Page ID that will switch to, 0xFF**indicates there is no switching.
0x0C
Pic_On
2
Page ID that shows the effect animation when button pressed, 0xFF** means that
there is no button pressing effect.
0x0E
TP_Code
2
0xFE05
0x10
0xFE
1
0xFE
0x11
*VP
2
Variable address pointer
0x13
VP_Mode
1
0x00=Returned key value is saved in VP word address (integer)
0x01=Low byte of returned key value is saved in high byte address of VP word
address(VP_H);
0x02=High byte of returned key value is saved in low byte address of VP word
address (VP_L)
0x14
Key_Code
2
Return Key
0x16
NULL
10
Write 0x00
4.7 ASCII Text Entry(0x06)
Add.
Definition
Data
length
Description
0x00
Pic_ID
2
Page ID
0x02
TP_Area
8
Touch button areas:(X
s
,Y
s
)(X
e
,Y
e
)
0x0A
Pic_Next
2
Page ID that will switch to, 0xFF**indicates there is no switching.
0x0C
Pic_On
2
The ID number of picture of pressing effects animation, 0xFF** means that there is no
button pressing effect.
0x0E
TP_Code
2
0xFE06
0x10
0xFE
1
0xFE
0x11
*VP
2
Variable address pointer
0x13
VP_Len_Max
1
Max length of the text variable,Word number,0x01-0x7B;
When the text is saved to the specified address , 0xFFFF will automatically be the
terminator of the text;
Text variable input maybe occupy the max variable space =VP_Len_Max+1
0x14
Scan_Mode
1
Entry mode control:0x00=Re-entry 0x01=Open original text and modify
0x15
Lib_ID
1
The position of ASCII font which is used to display, 0x00=The default font
0x16
Font_Hor
1
Font size, amount of dot matrix in X-direction
0x17
Font_Ver
1
Font size, amount of dot matrix in Y-direction
(When Lib_ID=0x00,amount of dot matrix in Y-direction must be 2*X)
0x18
Cusor_Color
1
Cursor color,0x00=Black others=White
0x19
Color
2
Text display color
0x1B
Scan_Area_Start
4
Top left coordinate of text input display area(X
s
,Y
s
)
0x1F
0x00
1
0x20
0xFE
1
0x21
Scan_Area_End
4
Bottom right coordinate of text input display area(X
e
,Y
e
)
0x25
KB_Source
1
Select the keyboard page:0x00= Keyboard is on the current page; Others=
Keyboard is not on the current page
0x26
PIC_KB
2
The following data is valid when KB_Source isn’t 0x00; Keyboard page ID
0x28
AREA_KB
8
The keyboard area coordinates on the keyboard page:Upper left corner(X
s
,Y
s
)Lower right
corner(X
e
,Y
e
)
0x30
0xFE
1
0x31
AREA_KB_Position
4
Display position to which the keyboard pasted (Top left corner coordinate)
0x35
NULL
11
Write 0x00










