SmartGPU2-LCD480X320Touch-CommandSet

SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 65
2.5.4 Memory Read 4Dhex - M ascii
Commands (host)
10 bytes
1.- 0x49 (hex), I (ascii). *Image Command.
2.- 0x4D (hex), M (ascii).
3.- X1 coord high byte.
4.- X1 coord low byte.
5.- Y1 coord high byte.
6.- Y1 coord low byte.
7.- X2 coord high byte.
8.- X2 coord low byte.
9.- Y2 coord high byte.
10.- Y2 coord low byte.
Responses (device)
pixel number multiplied by 3(R,G,B)
1-N- pixels defined by the X1(16bit), Y1(16bit),
and X2(16bit), Y2(16bit) window.
N+1.- 0x4F (hex), O (ascii) success ACK or
0x46 (hex), F (ascii) fail NAK.
Remember: each pixel is composed by three
bytes following the RGB888 convention.
Description
This command reads the internal memory of
the SMART GPU 2 that is currently displayed,
defined by the given points(top left corner):
X1(16bit), Y1(16bit) and (bottom right corner):
X2(16bit), Y2(16bit).
Example (sent commands)
The next examples are considered to be
executed when the next full screen image
is being displayed on the SMART GPU
screen.