Specifications

Touch Controllers Reference Guide44
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 (using the hexadecimal representation of decimal
values). 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.