
Chapter 2 Communicating with the MT3000 Controller
41
Format Decimal
Note:
MicroTouch provides this command for compatibility with older touchscreen
controllers. To ensure compatibility with all existing and future MicroTouch controllers, do
not use this command when developing your touch drivers and applications.
Syntax:
<SOH>
FD
<CR>
Description:
Outputs the X/Y touch coordinate data as a 9-byte packet in a decimal
format. The packet includes the following 9 bytes:
•
1 header byte
•
3 bytes of X coordinate data
•
An ASCII comma
•
3 bytes of Y coordinate data
•
A terminator byte
Data is sent as a string of decimal ASCII characters (0 to 9). The output
range for both the X and Y data is 000 to 999.
When activated, Format Decimal resets the Mode Status to report the
standard <SOH> header. If the last format command was Format Binary,
then Format Decimal sets the output mode to Mode Stream.
Format Decimal, which sends approximately 106 packets per second at
9600 baud, is not as efficient as Format Tablet. Format Decimal does not
contain touchdown and liftoff information unless you also use the Mode
Status command.
Format Hexadecimal is the same as Format Decimal except the controller
returns the X/Y coordinates in hexadecimal instead of decimal.
Format Tablet, which sends approximately 192 packets per second at 9600
baud, is the most efficient packet. It also contains touchdown and liftoff
information. Format Tablet is the standard for MicroTouch product
development.
Response:
<SOH>
0
<CR>
Содержание Micro Touch Capacitive Controller MT3000
Страница 1: ...MT3000 Capacitive Controller Reference Guide...
Страница 8: ......
Страница 58: ......
Страница 60: ......