SmartGPU2-LCD480X320Touch-CommandSet

SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 37
2.3.7 Draw Circle 43hex - C ascii
Commands (host)
11 bytes
1.- 0x47 (hex), G (ascii). *Geometry Command.
2.- 0x43 (hex), C (ascii).
3.- X high byte.
4.- X low byte.
5.- Y high byte.
6.- Y low byte.
7.- Radius high byte.
8.- Radius low byte.
9.- High byte colour.
10.- Low byte colour.
11.- 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 circle on the
screen with center on the given point:
X(16bit),Y(16bit) and RADIUS(16bit) value.
Colour format is the same RGB565.
Radius value must be always different than zero.
Example (sent commands)
Example 1:
<47,43,00,96,00,78,00,50,FF,E0,00> Draws a
no filled yellow circle with center X:150(dec),
Y:120(dec) and RADIUS:80(dec).