SmartGPU2-LCD480X320Touch-CommandSet

SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 35
2.3.6 Draw Arc 41hex - A ascii
Commands (host)
14 bytes
1.- 0x47 (hex), G (ascii). *Geometry Command.
2.- 0x41 (hex), A (ascii).
3.- X high byte.
4.- X low byte.
5.- Y high byte.
6.- Y low byte.
7.- Radius in X high byte.
8.- Radius in X low byte.
9.- Radius in Y high byte.
10.- Radius in Y low byte.
11.- Arc quadrant to draw.
12.- High byte colour.
13.- Low byte colour.
14.- Fill: 0x00(hex) No Fill Geometry or
0x01(hex) Fill Geometry.
Responses (device)
1 byte
1.- 0x4F (hex), O (ascii) success ACK or
0x46 (hex), F (ascii) fail NAK.
Description
This command draws a simple arc quadrant
on the screen with center on the given point:
X(16bit), Y(16bit), RADIUSX(16bit) and
RADIUSY(16bit) values. Colour format is the
same RGB565.
The arc quadrants are:
Radius values must be always different than zero.