e z L C D -‐ 4 0 5
|
75
Rev.
© 2016 Earth Computers Tech. Inc.
1.7.18 LINE_TO_XHY
Description:
Draws a line in Current Color, from Current Position to the specified position.
Code:
88
hex,
136
dec
7
6
5
4
3
2
1
0
Byte 0: Command
x15
x14
x13
x12
x11
x10
x9
x8
Byte 1: x MSB
x7
x6
x5
x4
x3
x2
x1
x0
Byte 2: x LSB
y15
y14
y13
y12
y11
y10
y9
y8
Byte 3: y MSB
y7
y6
y5
y4
y3
y2
y1
y0
Byte 4: y LSB
See Also:
SET_XHY
,
SET_COLORH
,
PLOT
Example:
Example:
The following sequence will draw a red line across the screen.
SET_COLORH
84
hex
RED_LSB
000
00000
bin
RED_MSB
11111
000
bin
SET_XHY
85
hex
0
0
dec (x0 MSB)
0
0
dec (x0 LSB)
LINE_TO_XHY
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...