e z L C D -‐ 4 0 5
|
38
Rev.
© 2016 Earth Computers Tech. Inc.
1.5.3.2.1 cuButton States
The ezButton events are coded in one byte:
Where:
Button_Number: The number (ID) of the button, which has caused the event. The button
number is specified by the
BUTTON_DEF
command.
Button Down State: The button indicated by Button_Number is pressed.
Button None State: No button is pressed. Button_Number for this state is always set to 63.
Sending of the cuButton states by the ezLCD
·∙ The ezLCD sends the cuButton states continuously, 5 to 20 times per second. If you would like
to receive the button state only once per event, please use the
ezButton
protocol instead.
·∙ The button cannot be pressed just by sliding the finger onto the button touch zone. The ezLCD
sends the Button Down state only if the button is directly pressed.
·∙ When the button is already pressed, it may only be released by removing the finger from the
touch screen. Sliding the finger out of the button area will not release the button.
Example:
Let's assume that the ezButton protocol is selected by the
TOUCH_PROTOCOL
command and
the button no 4 is defined by the
BUTTON_DEF
command.
1.
Touch Screen:
Not pressed
ezLCD-‐405 Sends:
FF
hex
continuously, 5 to 20 times per second
2.
Touch Screen:
Pressed in the Button 4 touch zone
ezLCD-‐405 Sends:
44
hex
continuously, 5 to 20 times per second
Summary of Contents for ezLCD-405
Page 1: ......
Page 22: ...e z L C D 4 0 5 22 Rev 2016 Earth Computers Tech Inc Figure 2 ezLCD 405 Schematic...
Page 32: ...e z L C D 4 0 5 32 Rev 2016 Earth Computers Tech Inc...
Page 52: ...e z L C D 4 0 5 52 Rev 2016 Earth Computers Tech Inc SET_COLOR SET_XY...
Page 102: ...e z L C D 4 0 5 102 Rev 2016 Earth Computers Tech Inc...
Page 109: ...e z L C D 4 0 5 109 Rev 2016 Earth Computers Tech Inc...
Page 118: ...e z L C D 4 0 5 118 Rev 2016 Earth Computers Tech Inc...