SmartGPU2-LCD480X320Touch-CommandSet
SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 67
2.5.5 Screenshot BMP – 53hex - S ascii
Commands (host)
2 bytes
1.- 0x49 (hex), I (ascii). *Image Command.
2.- 0x53 (hex), S (ascii).
Responses (device)
1 byte
1.- 0x4F (hex), O (ascii) – success ACK or
0x46 (hex), F (ascii) – fail NAK.
Description
This command reads the internal memory of
the SMART GPU 2 that is currently displayed,
creates a file named “ScreenshotXXX.bmp” on
the microSD card, and appends the read
memory data from screen to the file, creating a
.BMP format file.
In other words, this command creates a .bmp
file with the current contents displayed on
SmartGPU 2 screen.
Once the command is received, the
SmartGPU2 will attempt to create a
consecutive file names: “Screenshot000.bmp”,
“Screenshot0001.bmp”, etc. The file will be
created on the current directory path, if a
“ScreenshotXXX.bmp” file already exists, the
SmartGPU will add 1 to the file name and
create the new screenshot file.
User can later call the created images with
the IMAGE BMP SD command.
Example (sent commands)
Example 1:
<49,53> Take a screenshot of SmartGPU 2
display and store as a .bmp file called
“Screenshot000.bmp”
All data is in hex.