SmartGPU2-LCD480X320Touch-CommandSet

SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 44
2.4.1 Put Letter 4Chex - L ascii
Commands (host)
7 bytes
1.- 0x53 (hex), S (ascii). *String Command.
2.- 0x4C (hex), L (ascii).
3.- X coord high byte.
4.- X coord low byte.
5.- Y coord high byte.
6.- Y coord low byte.
7.- letter to display in (0xXX) hex (ascii
equivalent).
Responses (device)
Up X (2 bytes) + 1 byte ACK
1.- Up X high byte
2.- Up X low byte
3.- 0x4F (hex), O (ascii) success ACK.
0x46 (hex), F (ascii) fail NAK.
*Up X stands for Updated X position.
Description
This command displays a given char or letter
on the screen with the given point: X(16bit),
Y(16bit) as top left corner. It returns the
Updated X, this is useful to know where X
position to print the next characters and avoid
characters overlapping.
Text size, text colour, text background colour,
and filled of unfilled background must be set
with the Strings Config Command, Defaults
are Size 0, White text colour, Black
background colour and unfilled background.
Colour format is the same RGB565.
Example (sent commands)
Example 1:
<53,4C,00,14,00,1E,41> Draws an ‘A’ letter,
with top left corner at X:20(dec),Y:30(dec).
With Default settings.