buydisplay.com
EastRising
The A0 control command can support 8 sets of commands simultaneously after pressing the touch
Panel. Each set of commands includes 2 Bytes, one is the command code CM, the other is the
command code serial number NU, and the unused part do not need to filled
0x00, 0x00.
When the TFT panel is pressed at the Button picture touch position, it responds to 10 Bytes
feedback information. Including Start code, Command code, Serial number, status Feedback code,
CRC code, End code. At this time the serial number represents the Button number, when pressed
the status feedback code is 0x31. As shown in the format table below:
Table 4-4A: The Feedback Information of Press Button
Initial
Code
Command
Code
Serial
Number
Feedback
Code
CRC Code
End Code
0xAA
(1 Byte)
A0h
(1 Byte)
Button Picture
Number
(1 Byte)
0x31
(2 Bytes)
0xE4, 0x1B, 0x11,
0xEE(4 Bytes)
When the Button picture touch position is released, 10 Byte feedback messages are also
responded to. The difference is that the status feedback code is 0x30. Please refer to Section 2.2 -
Host and Serial Uart Panel Protocol.
Table 4-4B: The Feedback Information of Release Button
Initial
Code
Command
Code
Serial
Number
Feedback
Code
CRC Code
End Code
0xAA
(1 Byte)
A0h
(1 Byte)
Button Picture
Number
(1 Byte)
0x30
(2 Bytes)
0xE4, 0x1B, 0x11,
0xEE(4 Bytes)
In addition to the A0h command, the ER-TFT028A2-4-5465 also provides a virtual control
command without pictures - A2h. This command allows the user to set an area on the TFT
panel, where the panel automatically executes 8 sets of commands when the touch is
pressed.
Table 4-5A: Virtual Touch Area Setting Command
Command
Function
Code
No.
Command
Parameter
Command Description
Setup Virtual
Touch Area
A2h
#nn:
X(2), Y(2), Width(2),
Height(2),
CM1(1),
NU1(1), CM2, NU2, CM3,
NU3, CM4, NU4, CM5,
NU5, CM6, NU6, CM7,
NU7, CM8, NU8
Setup a virtual area that with Width
and Height at position (X, Y). When
touch this area, the TFT Panel will
automatically execute the CM
command, and NU is the serial
number after the CM command. This
command can execute 8 sets of
commands simultaneously.
Cancel Virtual
Touch Area
A3h
nn
Cancel the A2h command.