Color Send_Commands - panja Black/White LCD Instruction Manual

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

Advertisement

Color Send_Commands

Use the color Send_Commands to set the colors for text, buttons, and pages. Use the same
command for setting gray scale values only change the color number value to reflect the gray scale
(72-86) value.
Color Send_Commands
CALL
Sets the colors for
a variable text but-
ton.
CBOFF
Sets the OFF
feedback border
color to the speci-
fied color.
CBON
Sets the ON feed-
back border color
to the specified
color.
Black/White LCD Mini-Touch Panels
You must use the variable text assignments to change button colors (see the Colors and
Programming Numbers table on page 26).
Syntax:
"'CALL<variable text address>-<data>'"
Variables:
You must have the variable text assignments to change button colors.
variable text address = 1 - 255
data = 6 color number series for:
FILL COLOR ON
FILL COLOR OFF
BORDER COLOR ON
BORDER COLOR OFF
TEXT COLOR ON
TEXT COLOR OFF
Example:
SEND_COMMAND TP,"'CALL1-87 72 87 72 72 87'"
Sets variable text button 1 to:
FILL COLOR ON = Black
FILL COLOR OFF = White
BORDER COLOR ON = Black
BORDER COLOR OFF = White
TEXT COLOR ON = White
TEXT COLOR OFF = Black
Syntax:
"'CBOFF<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,"'CBOFF1-72'"
Sets the OFF feedback border color to White for the variable text button 1.
Syntax:
"'CBON<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,"'CBON1-87'"
Sets the ON feedback border color to Black for variable text button 1.
Programming
31

Advertisement

Table of Contents
loading

Table of Contents