Variable Text Send_Commands - panja Black/White LCD Instruction Manual

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

Advertisement

Variable Text Send_Commands

Use variable text Send_Commands to set the borders, fonts, and text.
Variable Text Send_Commands
!B
Sets a specific
button to On or
Off.
BTOF
Sets a specific
button's active
state to Off.
BTON
Sets a specific
button's active
state to On.
!C
Sets the border,
font, and text in
one command.
!F
Shorthand ver-
sion of ' FONT '
command.
Black/White LCD Mini-Touch Panels
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.
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.
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.
Syntax:
"'!C',<variable text address>,<border style>,<font
size>,'<new button text>'"
Variables:
variable text address = 1 - 255
border style = See the Border Styles and Programming Numbers table on page 26.
font size = See the Font Styles and Programming Numbers table on page 26.
button text = Enter button text to appear on button.
Example:
SEND_COMMAND TP,"'!C',1,6,6,'VCR PLAY'"
Sets the variable text button one title to VCR PLAY using a hollow medium font, and
changes the border attribute to double rounded.
Syntax:
"'!F',<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,"'!F',1,6"
Changes variable text button one font to hollow medium.
Programming
33

Advertisement

Table of Contents
loading

Table of Contents