Proface FP3900 - 19 Flat Panel" User Manual

Page 70

Advertising
background image

Chapter 7 Touch Panel Data

7-3

(2)

Data Format

Touch Panel coordinate data is sent to the host using the following format.

All data is in binary format.

Header:

1 byte (11h= touched; 10h = released)

X coordinate:

2 bytes (0 to 3FFh)

Y coordinate:

2 bytes (0 to 3FFh)

<Example>

If the coordinate (X=23(11h), Y=500(1F4h)) is touched and moved to the coordinate (X=63(3Fh),

Y=250(FAh)).

11h 0h 17h 1h F4h

touched

11h 0h 17h 1h F4h

continuous output with the same location

11h 0h 18h 1h F5h

moving without releasing touch

:

:

:

:

:

:

:

:

:

:

11h 0h 3Fh 1h FAh

continuous data output unless finger is released

11h 0h 3Fh 1h FAh 10h

when released, only 1 unit of data is sent

X coordinate

Y coordinate

11h

10h

Added when touch is released.

Advertising
This manual is related to the following products: