SmartGPU2-LCD480X320Touch-CommandSet

SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 89
2.8.2 Get Touch Icons 49hex - I ascii
Commands (host)
1 byte
1.- 0x54 (hex), T (ascii). *Touch command.
2.- 0x49 (hex), I (ascii).
Responses (device)
1 byte + 1 byte ACK/NAK
1.- Icon Name First Capital Letter.
2.- 0x4F (hex), O (ascii) success ACK or
0x46 (hex), F (ascii) fail NAK.
Description
This Command performs a reading on the
touchscreen panel and responds immediately
the current reading in that specific time.
When the command is called and a valid
touch on the touchscreen Icons is
read/obtained, the SmartGPU 2 will respond
with the Name First Capital Letter of the Icon
followed by an ACK(means valid touch on
Icon).
If during the command call, no valid touch
on the touchscreen Icons is present,
SmartGPU 2 will respond ‘N’(ascii) followed by
a NAK(means no valid touch on Icons).
Possible responses:
If no touch:
‘N’ - None 4E, 46
Touch on Home Icon:
‘H’ - Home 48, 4F
Touch on Message Icon:
‘M’ - Message 4D, 4F
Touch on Book Icon:
‘B’ - Book 42, 4F
Touch on Phone Icon:
‘P Phone 50, 4F
Touch on Song/Note Icon:
‘S’ - Song 53, 4F
If a simple wait until valid point / touch on
screen is needed, user can call this command
repeatedly until an ACK with a different than
‘N’ None Icon is obtained.