SmartGPU2-LCD480X320Touch-CommandSet

SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 23
2.2.7 Calibrate Touch 54hex - T ascii
Commands (host)
3 bytes
1.- 0x4D (hex), M (ascii). *Master command
2.- 0x54 (hex), T (ascii).
3.- 0x43 (hex), C (ascii). Calibrate.
0x53 (hex), S (ascii). Save Values.
0x44 (hex), D (ascii). Delete Values.
Responses (device)
1 byte
1.- 0x4F (hex), O (ascii) success ACK or
0x46 (hex), F (ascii) fail NAK.
Description
This command helps user to Calibrate touch,
save calibration values to flash, and delete-
restore factory touch calibration values from
flash. It’s recommended to perform any
calibration process with a stylus, not fingers.
The SmartGPU 2 contains saved in flash 4
values that are the factory calibration values to
get a correct touch reading on screen when user
press the panel. User can update those values by
saving new calibration values, or can restore
factory values by calling the Delete Values
command.
When the user calls the command
Calibrate(M,T,C) , the SmartGPU will execute the
next process to calibrate touchscreen:
1.-Screen will turn red.(means calibration process
begin).
2.-Screen will turn black.
3.-A white dot will be printed on one corner of the
screen, user must touch this point and hold
while the screen turns green, release point
Immediately after the screen turns green.
4.-Screen turns green. (means calibration of
First point is done).
5.-Screen will turn black.
6.-A second white dot will be printed on one
corner of the screen, user must touch this point
and hold while the screen turns blue, release
point immediately after the screen turns blue.
7.-Screen turns blue. (means calibration of
Second point is done).
8.-Screen will turn black.(means end of process).