Variable text send_commands – AMX 8.5" Color Passive LCD Touch Panels User Manual

Page 37

Advertising
background image

Programming

33

Color Passive-Matrix LCD Touch Panel

Variable Text Send_Commands

Use variable text Send_Commands to set the borders, fonts, and text.

Color Send_Commands (Cont.)

CTON

Sets the ON feed-
back text color to
the specified
color.

Syntax:

"’CTON<variable text address>-<color _number>’"

Variables:

variable text address = 1 - 255

color number = See the Colors and Programming Numbers table on page 26.

Example:

SEND_COMMAND TP,"’CTON1-72’"

Sets the ON feedback text color to White for variable text button 1.

Variable Text Send_Commands

!B

Sets a specific
button to On or
Off.

Syntax:

"’!B’,<variable text address 1-255>,<ON/OFF 0-1>"

Variables:

variable text address = 1 - 255

ON = 0

OFF = 1

Example:

SEND_COMMAND TP,"’!B’,128, 1"

Sets button 128 Off.

BTOF

Sets a specific
button's active
state to Off.

Syntax:

"’BTOF’,<variable text address>"

Variables:

variable text address = 1 - 255

Example:

SEND_COMMAND TP,"’BTOF’,255"

Sets the state for button 255 to Off.

BTON

Sets a specific
button's active
state to On.

Syntax:

"’BTON’,<variable text address>’"

Variables:

variable text address = 1 - 255

Example:

SEND_COMMAND TP,"’BTON’,128"

Sets the state for button 128 to On.

Advertising