
Chapter 2 Communicating with the MT3000 Controller
45
Format Tablet
Syntax:
<SOH>
FT
<CR>
Description:
Outputs the X/Y touch coordinate data in a 5-byte packet. The packet
includes 1 status byte and 4 bytes of binary X/Y coordinate data. The
protocol also establishes the X and Y coordinate output as 14 binary bits
providing a range of 0 to 16,383.
The low order bits (X3 – X0 and Y3 – Y0) are not significant in a 1024 by
1024 touchscreen because data can fluctuate with each touch, and therefore
may not be completely accurate.
To use Format Tablet, the controller and host system must be in an 8-bit
data communication mode. The Format Tablet command returns a negative
response if the controller is in 7-bit format.
Format Tablet is the most efficient packet (sends approximately 162 packets
per second at 9600 baud). It also contains touchdown and liftoff
information. Format Tablet is the standard for MicroTouch product
development.
For comparison, Format Hexadecimal and Format Decimal (which send
approximately 106 packets per second at 9600 baud) are not as efficient as
Format Tablet. These data formats do not contain touchdown and liftoff
information unless you also use the Mode Status command.
Response:
<SOH>
0
<CR> Positive response.
After the controller is in Format Tablet mode, touching the screen causes
the controller to return a response in the following format:
SXxYy
S
= Status byte; first byte of data. Refer to Table 7.
Xx
= X (horizontal) coordinate data; second and third bytes of data.
Yy
= Y (vertical) coordinate data; fourth and fifth bytes of data.
Summary of Contents for Micro Touch Capacitive Controller MT3000
Page 1: ...MT3000 Capacitive Controller Reference Guide...
Page 8: ......
Page 58: ......
Page 60: ......