panja Black/White LCD Instruction Manual page 38

Black/white lcd mini-touch panels (firmware version g3 or higher)
Table of Contents

Advertisement

Programming
Variable Text Send_Commands (Cont.)
FONT
Changes the font
size (or style) of
the text in a spe-
cific button.
!I
Shorthand ver-
sion of ' ICON '
command.
ICON
Changes the bor-
der style of a spe-
cific button.
!T
Shorthand ver-
sion of ' TEXT '
command.
TEXT
Enters text on a
button.
34
Syntax:
"'FONT,<variable text address>-<font size>'"
Variables:
variable text address = 1 - 255
font size = See the Font Styles and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"'FONT,1-6'"
Changes variable text button one font to hollow medium.
Syntax:
"'!I',<variable text address>,'<border style>'"
Variables:
variable text address = 1 - 255
border style = See the Border Styles and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"'!I',1,'6'"
Changes the variable text button one border style to double rounded.
Syntax:
"'ICON,<variable text address>-<border style>'"
Variables:
variable text address = 1 - 255
border style = See the Border Styles and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"'ICON,25-6'"
Changes the variable text button 25 border style to double-rounded.
Syntax:
"'!T',<variable text address>,'<new button text>'"
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.
Use the | character to display text on multiple lines.
Syntax:
"'TEXT,<variable text address>-<new button 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.
Black/White LCD Mini-Touch Panels

Advertisement

Table of Contents
loading

Table of Contents