User manual

PROFESIONAL, CREDITABLE, SUCCESSFULL DWIN DGUS v2.0 Specification
Beijing DWIN Technology Co., Ltd. - 26 - www.dwin.com.cn/en
5.1.6 Icon Rotation Instructions(0x05)
Add.
Definition
Data
Length
Description
0x00
0x5A05
2
0x02
*SP
2
Variables description pointer, 0xFFFF indicates it loaded by config. file
0x04
0x000C
2
0x06
0x00
*VP
2
Variable pointer, variable format is decided by VP_Mode
0x08
0x01
Icon_ID
2
Specified ICON ID
0x0A
0x02
Icon_Xc
2
Rotation center position of icon X coordinate
0x0C
0x03
Icon_Yc
2
Rotation center position of icon Y coordinate
0x0E
0x04
Xc
2
Rotation center position for ICON display on current screenXcoordinate
0x10
0x05
Yc
2
Rotation center position for ICON display on current screenYcoordinate
0x12
0x06
V_Begin
2
The variable value corresponding to the starting angle of rotation, integer,
no display if cross border
0x14
0x07
V_End
2
The variable value corresponding to the end angle of rotation, integer, no
display if cross border
0x16
0x08
AL_Begin
2
Starting angle of rotation0-720(0x000-0x2D0)unit is 0.5°.
0x18
0x09
AL_End
2
End angle of rotation0-720(0x000-0x2D0)unit is 0.5°.
0x1A
0x0A:H
VP_Mode
1
0x00*VP points to an integer variable
0x01*VP points to the high byte data of an integer variable
0x02*VP points to the low byte data of an integer variable
0x1B
0x0A:L
Lib_ID
1
ICON library ID
0x1C
0x0B
Mode
1
ICON display mode0x00=Transparent(does not display the
background)Others display the icon background
The rotation is always assumed as clockwise rotation, namely AL_End must be greater than AL _Begin (if AL_End is
less than AL_Begin, system processing will automatically add 360°)
The command is mainly used for pointer of instrument dials