SmartGPU2-LCD480X320Touch-CommandSet

SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 58
Example (sent commands)
Example 1:
<49,49,00,1E,00,28,00,BD,00,9F,
Pix1H,Pix1L,Pix2H,Pix2L,…,PixNH,PixNL>
Draws an image of 160x120 pixels with top left
corner: X1:30(dec),Y1:40(dec) and bottom
right corner: X2:189(dec), Y2:159(dec).
Example 2:
<49,49,00,00,00,00,00,9F,00,77,
Pix1H,Pix1L,Pix2H,Pix2L,…,PixNH,PixNL>
Draws an image of 160x120 pixels with top left
corner: X1:0(dec),Y1:0(dec) and bottom right
corner: X2:159(dec), Y2:119(dec).
All data is in hex. Note: See that X2 is the sum
of X1+(width in pixels - 1), the -1 in the pixels
is because pixel number 0 also count. Also
Y2 is the sum of Y2+(height in pixels 1)
because the same reason as X2.
User must be careful not to exceed the
Maximum X1, Y1, x2, y2 acceptable
parameters(depending orientation) of the
screen in order to avoid unwanted distorted
images.