e z L C D -‐ 4 0 5
|
160
Rev.
© 2016 Earth Computers Tech. Inc.
1.7.66.1 ARC
Description:
Draws an Arc in Current Color, with the center at Current Position, starting on
Begin Angle and ending on the End Angle.
Code:
2F
hex,
47
dec
7
6
5
4
3
2
1
0
Byte 0: Command
Byte 1: Radius
Byte 2: Arc Begin Angle
Byte 3: Arc End Angle
See Also:
SET_XY
,
SET_COLOR
,
CIRCLE_R
Angle Coding:
The angle range is from 0 to 255.
To transform degrees to ARC angle units:
Angle_lcd = Angle_deg x 32 / 45
For example:
32 = 45°
64 = 90°
128 = 180°
192 = 270°
0 = 0° = 360°
The angle is drawn clockwise with the zero positioned at the top of a screen, as it is shown on
the picture below
ARCH
radius
begin_angle
end_angle
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...