Specifications

Touch Controllers Reference Guide46
Format Hexadecimal
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>FH<CR>
Description: Outputs the X, Y touch coordinate data as a 9-byte packet in a
hexadecimal 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 hexadecimal ASCII characters (0 to 9,
A to F). The output range for both the X and Y data is 000 to 3FF.
When activated, Format Hexadecimal resets the Mode Status to report
the standard <SOH> header. If the last format command was Format
Binary, then Format Hexadecimal sets the output mode to Mode
Stream.
Format Hexadecimal, which sends approximately 106 packets per
second at 9600 baud, is not as efficient as Format Tablet. Format
Hexadecimal does not contain touchdown and liftoff information
unless you also use the Mode Status command.
Format Decimal is the same as Format Hexadecimal except the
controller returns the X, Y coordinates in decimal instead of
hexadecimal.
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.