NEO 2 Interface Developer’s Guide
488
7.
Command:
56 69 56 4F 74 65 63 68 32 00 61 06 00 00 21 F9
a.
If the large button (
Button1
) is implemented correctly and clicked, the device sends
this message:
56 69 56 4F 74 65 63 68 32 00 61 00 00 19 00 00 01 00 53 63
72 65 65 6E 31 00 4C 61 72 67 65 20 42 75 74 74 6F 6E 00 CC
B4
8.
Add a get invisible button event with the
Add Object to Screen (61-07)
command. In order to
verify the invisible button loaded successfully, locate of the button through
Text3
and get the
button’s click event.
Data Item
Code
Description
Screen Name
53 63 72 65 65 6E 31
Screen1
Object Name
54 65 78 74 32
Text2
Component ID
00
Text Area
Alignment
04
Display object at the horizon center of
specified y, while x ignored
x-coordinate
00 00
0
y-coordinate
72 01
370
Font ID
0E
RoundCondensedMedium_12
Font Color
3A F1 2C 00
green B-58 G-241 R-44
String
49 6E 76 69 73 69 62 6C 65
20 42 75 74 74 6F 6E 20 69
73 20 68 65 72 65
Invisible Button is here
Command:
56 69 56 4F 74 65 63 68 32 00 61 07 00 36 53 63 72 65 65 6E 31 00
54 65 78 74 32 00 00 04 00 00 72 01 00 00 00 00 0E 3A F1 2C 00 49
6E 76 69 73 69 62 6C 65 20 42 75 74 74 6F 6E 20 69 73 20 68 65 72
65 00 EF C9
a.
If the invisible button and its callback were implemented correctly, the device sends
this message:
56 69 56 4F 74 65 63 68 32 00 61 00 00 1E 00 00 03 00 08 53
63 72 65 65 6E 31 00 49 6E 76 69 73 69 62 6C 65 20 42 75 74
74 6F 6E 00 9B 55
9.
Add an LED widget to
Screen1
with the
Add Object to Screen (61-07)
command. This
command lasts for a maximum of 5 seconds. The maximum number of LED widgets per page
screen is 16.
Data Item
Code
Description
Screen Name
53 63 72 65 65 6E 31
Screen1
Object Name
4C 45 44 31
LED1