beautypg.com

AMX 8.5" Color Passive LCD Touch Panels User Manual

Page 39

background image

Programming

35

Color Passive-Matrix LCD Touch Panel

Variable Text Send_Commands (Cont.)

!T

Shorthand ver-
sion of

'TEXT'

command.

Syntax:

"’!T’,,’’"

Variables:

variable text address = 1 - 255

new button text = 1 - 60 characters

Example:

SEND_COMMAND TP,"’!T’,1,’VCR PLAY’"

Changes the variable text button one title to VCR PLAY.

TEXT

Enters text on a
button.

Use the | character to display text on multiple lines.

Syntax:

"’TEXT,-’"

Variables:

variable text address = 1 - 255

button text = Enter button text to appear on button

Example:

SEND_COMMAND TP,"’TEXT2-VCR|PLAY’"

Sets the VCR and PLAY text on variable button 2. The | character places VCR above
PLAY on the button.