e z L C D -‐ 4 0 5
|
92
Rev.
© 2016 Earth Computers Tech. Inc.
1.7.30 SAVE_POSITION
Description:
Stores the Current Position to the Position ID.
The saved position may be later restored by the
RESTORE_POSITION
command.
Code:
35
hex
,
53
dec
7
6
5
4
3
2
1
0
Byte 0: Command
Byte 1: POSITION ID = 0 to 255
See Also:
RESTORE_POSITION
,
SET_XHY
Example:
Example:
The following sequence will draw 3 lines with the common starting point: (160, 117)
SET_XHY
85
hex
0
0
dec (x MSB)
160
160
dec (x LSB)
0
0
dec (y MSB)
117
117
dec (y LSB)
SAVE_POSITION
35
hex
12
12
dec
(Position ID)
LINE_TO_XHY
88
hex
0
0
dec (x1 MSB)
247
247
dec (x1 LSB)
0
0
dec (y1 MSB)
67
67
dec (y1 LSB)
RESTORE_POSITION 36
hex
12
12
dec (Position ID)
LINE_TO_XHY
88
hex
0
0
dec (x1 MSB)
73
73
dec (x1 LSB)
0
0
dec (y1 MSB)
67
67
dec (y1 LSB)
RESTORE_POSITION 36
hex
12
12
dec (Position ID)
V_LINE
41
hex
217
217
dec
SAVE_POSITION
POSITION ID
Summary of Contents for ezLCD-405
Page 1: ......
Page 22: ...e z L C D 4 0 5 22 Rev 2016 Earth Computers Tech Inc Figure 2 ezLCD 405 Schematic...
Page 32: ...e z L C D 4 0 5 32 Rev 2016 Earth Computers Tech Inc...
Page 52: ...e z L C D 4 0 5 52 Rev 2016 Earth Computers Tech Inc SET_COLOR SET_XY...
Page 102: ...e z L C D 4 0 5 102 Rev 2016 Earth Computers Tech Inc...
Page 109: ...e z L C D 4 0 5 109 Rev 2016 Earth Computers Tech Inc...
Page 118: ...e z L C D 4 0 5 118 Rev 2016 Earth Computers Tech Inc...