
21
Complete Control Mobile Programming Manual for MX-iOS
U
S
I
N
G
C
C
P
E
D
I
T
O
R
T
O
P
R
O
G
R
A
M
Press Time Mode
When Press Time mode is selected, the branch (If/Else) is determined by how long the button
is pressed. The “IF” macro is issued if the button is pressed Less than (< ) or Greater than /
Equal to ( >= ) the specified time. The “ELSE” statement executes when the IF condition is not
met.
In the example below, the “Navigation Down Arrow” is using Press Time mode with two
branches of actions associated with it. If the button is held down for one second or more
(Press Time >= 1 Second), the button will issue a “Cable Page Down” IR command. If it is held
down for less then one second, it will issue a “Cable Down” IR command.
Variable Mode
Selecting this mode allows the IF/Else statement to evaluate the variable (True/False, Integer)
and to execute either the If or Else portion of the statement based upon on the variable value.
Comentarios a estos manuales