panja Black/White LCD Instruction Manual page 36

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

Advertisement

Programming
Color Send_Commands (Cont.)
CFOFF
Sets the OFF
feedback fill color
to the specified
color.
CFON
Sets the ON feed-
back fill color to
the specified
color.
CPAGE
Sets the back-
ground page color
to the specified
color.
CTOFF
Sets the OFF
feedback text
color to the speci-
fied color.
CTON
Sets the ON feed-
back text color to
the specified
color.
32
Syntax:
"'CFOFF<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,"'CFOFF1-72'"
Sets the OFF feedback fill color to White for variable text button 1.
Syntax:
"'CFON<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,"'CFON1-87'"
Sets the ON feedback fill color to Black for variable text button 1.
Syntax:
"'CPAGE<color_number>-<page name>'"
Variables:
color number = See the Colors and Programming Numbers table on page 26.
page name = 1 - 50 ASCII characters (Page names are case sensitive.)
Example:
SEND_COMMAND TP,"'CPAGE255-MAIN PAGE'"
Sets the background color on the MAIN PAGE to Transparent.
Syntax:
"'CTOFF<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,"'CTOFF1-87'"
Sets the OFF feedback text color to Black for variable text button 1.
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.
Black/White LCD Mini-Touch Panels

Advertisement

Table of Contents
loading

Table of Contents