Touch Panel Commands
4-4
FP-570T User's Manual
(2) Data Format
All data is in 8-bit ASCII format, and is structured in the following 11 byte
strings.
Header:
1 byte (T = touched; R = released)
X coordinate: 4 bytes (0000 ~ 1023)
Separator:
1 byte (,)
Y coordinate: 4 bytes (0000 ~ 1023)
Termination code:
1 byte (CR = 0Dh)
X coordinate
Y coordinate
31h ('0') ~ 39h ('9')
four digits
31h ('0') ~ 39h ('9')
four digits
54h ('T') : Touched
52h ('R') : Released
2Ch (',') : fixed
0Dh ('\n') : fixed
<Example>If the coordinate (X=23, Y=500) is touched.
T0023, 0500CR touched
T0023, 0500CR continuous output with the same location
T0024, 0500CR moving the location without releasing touch
T0024, 0499CR
continuous data output unless finger is released
T0022, 0501CR
T0023, 0500CR
R0023, 0500CR
when released, only 1 unit of data is sent
(3) Sampling Rate
A maximum of 87 points per second.