Specifications

Touch Controllers Reference Guide52
Format Zone
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>FZ<CR>
Description: Outputs the X, Y touch coordinate data as a 5-byte packet and
indicates whether the touch occurred inside or outside the calibration
area.
When called, Format Zone automatically issues a Mode Stream
command and then sends the 5-byte packet. Data is sent as a string of
decimal ASCII characters (" " to "?"). The protocol establishes the X
and Y coordinate output as 0 to 1023.
Response: <SOH>0<CR> Positive response.
After the controller is in Format Zone mode, touching the screen
causes the controller to return a response in the following format:
<Zone>Xx,Yy
where:
<Zone> = Indicates whether the touch point is within the calibration
range (zone). The format is as follows:
Event Within Zone Outside Zone
Touchdown ASCII D ASCII L
Continued Touch ASCII B ASCII J
Touch Liftoff ASCII A ASCII I
X
x = X (horizontal) coordinate data. Total of 2 bytes.
Yy = Y (vertical) coordinate data. Total of 2 bytes.