![EarthLCD ezLCD-405 Скачать руководство пользователя страница 40](http://html1.mh-extra.com/html/earthlcd/ezlcd-405/ezlcd-405_manual_3369393040.webp)
e z L C D -‐ 4 0 5
|
40
Rev.
© 2016 Earth Computers Tech. Inc.
1.5.3.3 CalibratedXY
When the CalibratedXY protocol is selected, the ezLCD:
·∙ ezLCD sends
TOUCH_X
and
TOUCH_Y
packets (X and Y coordinates), when the screen is
pressed
·∙ ezLCD sends
PEN_UP
packets when the touch screen is not pressed.
·∙ Packets are sent continuously, 5 to 50 times per second.
In order to select the CalibratedXY protocol, send
TOUCH_PROTOCOL
(64) to the ezLCD.
Sending of the touch screen coordinates by the ezLCD
The touch screen coordinates are sent by the ezLCD only when the CalibratedXY protocol is
selected.
For ezLCD-‐405:
Xmax= 319
Ymax= 233
Touch screen coordinates are sent in multi-‐byte packets:
·∙ Packets are sent in non particular order
·∙ Each packet is starts with the PACKET_ID byte
·∙ Each packet is identified by it's PACKET_ID byte
·∙ The PACKET_ID may be followed by the data bytes, however there are packets which only
consist of the PACKET_ID with no data bytes
·∙ Bit 7 of the PACKET_ID is always 1
·∙ Bit 7 of the data bytes is always 0
Содержание ezLCD-405
Страница 1: ......
Страница 22: ...e z L C D 4 0 5 22 Rev 2016 Earth Computers Tech Inc Figure 2 ezLCD 405 Schematic...
Страница 23: ...e z L C D 4 0 5 23 Rev 2016 Earth Computers Tech Inc 1 3 2 Pin Configuration Figure 3 ezLCD 405 Connectors...
Страница 32: ...e z L C D 4 0 5 32 Rev 2016 Earth Computers Tech Inc...
Страница 52: ...e z L C D 4 0 5 52 Rev 2016 Earth Computers Tech Inc SET_COLOR SET_XY...
Страница 102: ...e z L C D 4 0 5 102 Rev 2016 Earth Computers Tech Inc...
Страница 109: ...e z L C D 4 0 5 109 Rev 2016 Earth Computers Tech Inc...
Страница 118: ...e z L C D 4 0 5 118 Rev 2016 Earth Computers Tech Inc...
Страница 158: ...e z L C D 4 0 5 158 Rev 2016 Earth Computers Tech Inc 10 10 dec y LSB V_LINE 41 hex 110 110 dec...