AMX Mio Modero R-4 User Manual

Page 58

Advertising
background image

Programming the Mio R-4

50

Mio Modero R-4

"^" Button Commands (Cont.)

^BAT

Append

non-unicode text

Append non-unicode text.

Syntax:

"'^BAT-<vt addr range>,<button states range>,<new text>'"

Variable:

• variable text address range = 1 - 4000.

• button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons

1 = Off state and 2 = On state).

• new text = 1 - 50 ASCII characters.

Example:

SEND_COMMAND Device,"'^BAT-520,1,Enter City'"

Appends the text 'Enter City' to the button’s OFF state.

^BAU

Append

unicode text

Append unicode text. Same format as ^UNI.

Syntax:

"'^BAU-<vt addr range>,<button states range>,<unicode text>'"

Variable:

• variable text address range = 1 - 4000.

• button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons

1 = Off state and 2 = On state).

• unicode text = 1 - 50 ASCII characters. Unicode characters must be entered in Hex

format.

Example:

SEND_COMMAND Device,"'^BAU-520,1,00770062'"

Appends Unicode text '00770062' to the button’s OFF state.

^BCB

Set the border
color to the

specified color

Set the border color to the specified color only if the specified border color is not the same
as the current color.

Note: Color can be assigned by color name (without spaces), number or R,G,B value
(RRGGBB or RRGGBBAA).

Syntax:

"'^BCB-<vt addr range>,<button states range>,<color value>'"

Variable:

• variable text address range = 1 - 4000.

• button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons

1 = Off state and 2 = On state).

• color value = Refer to theRGB Values for all 88 Basic Colors table on page 35 for more

information.

Example:

SEND_COMMAND Device,"'^BCB-500.504&510,1,12'"

Sets the Off state border color to 12 (Yellow). Colors can be set by Color Numbers, Color
name, R,G,B,alpha colors (RRGGBBAA) and R, G & B colors values (RRGGBB).

Refer to theRGB Values for all 88 Basic Colors table on page 35.

Advertising