e z L C D -‐ 4 0 5
|
78
Rev.
© 2016 Earth Computers Tech. Inc.
Example:
The following sequence will draw a green pie from 45 to 225 degrees with the center
positioned at (160, 117) and a radius of 80.
225 x 2048 / 45 = 10240 (2800hex).
SET_COLORH
84
hex
GREEN_LSB
111
00000
bin
GREEN_MSB
00000
111
bin
SET_XHY
85
hex
0
0
dec (x MSB)
160
160
dec (x LSB)
0
0
dec (y MSB)
117
117
dec (y LSB)
PIEH
90
hex
0
0
dec
(radius MSB)
80
80
dec
(radius LSB)
08
08
hex
(begin_angle MSB)
00
00
hex
(begin_angle LSB)
28
28
hex
(end_angle MSB)
00
00
hex
(end_angle LSB)
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...