SmartGPU2-LCD480X320Touch-CommandSet

SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 51
the file contents up from the given Start Character position and
display the text while it fits on the given text box.
The maximum number of characters to read from a file in one call
is 5000 bytes (characters).
The file name must be up to 250 characters. Only numbers
and letters are recommended to name the file, some special
characters are not allowed and may not work.
Always a NULL character (0x00)hex must follow the last
character of the file name, in order to indicate to mini SMART GPU
the end of this file name, the name to receive must not include
the .txt extension, just bare file name.
Text size, text colour, text background colour, and filled of unfilled
background must be set with the Strings Config Command,
Default are Size 0, White text colour, Black background colour and
unfilled background.
Colour format is the same RGB565.
Example
(sent commands)
The next examples consider a .txt file previously stored on
the micro SD memory card, named “text1.txt”.
Here’s a picture of the contents of the .txt file:
Example 1:
<53,46,00,14,00,32,00,8C,00,A0,00,00,00,00,74,65,78,74,31,00>
Opens the text1.txt” file of the SDcard with top left corner at
X1:20(dec), Y1:50(dec) and bottom right corner at X2:140(dec),
Y2:160(dec), Start Character 0x0000, Characters to Read
0x0000(means all contents). Text colour was changed to GREEN.