e z L C D -‐ 4 0 5
|
166
Rev.
© 2016 Earth Computers Tech. Inc.
1.7.66.6 LINE_TO_XY
Description:
Draws a line in Current Color, from the Current Position to the specified position
Code:
28
hex,
40
dec
7
6
5
4
3
2
1
0
Byte 0: Command
x7
x6
x5
x4
x3
x2
x1
x0
Byte 1: x
y7
y6
y5
y4
y3
y2
y1
y0
Byte 2: y
See Also:
SET_XY
,
SET_COLOR
,
PLOT
Example:
Example:
The following sequence will draw a red line across the screen.
SET_COLOR
24
hex
RED
00
000
111
bin
SET_XY
25
hex
0
0
dec
0
0
dec
LINE_TO_XY
28
hex
239
239
dec
159
159
dec
LINE_TO_XY
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...