,", SEND_COMMAND TP,"@CPG,87,Main Page", "@CPP,,", SEND_COMMAND TP,"@CPP,54,Audio Page", "@CTF,,", SEND_COMMAND TP,"@CTF,1,48", "@CTN,,", SEND_COMMAND TP,"@CTN,1,72", "@IDF", SEND_COMMAND TP,"@IDF" . "@CPG,,", SEND_COMMAND TP,"@CPG,87,Main Page", "@CPP,,", SEND_COMMAND TP,"@CPP,54,Audio Page", "@CTF,,", SEND_COMMAND TP,"@CTF,1,48"">
AMX 8.5" Color Passive LCD Touch Panels "@CPG,<color_number>,<page name>", SEND_COMMAND TP,"@CPG,87,Main Page", "@CPP,<color_number>,<pop-up page name>", SEND_COMMAND TP,"@CPP,54,Audio Page", "@CTF,<variable text address>,<color_number>", SEND_COMMAND TP,"@CTF,1,48", "@CTN,<variable text address>,<color_number>", SEND_COMMAND TP,"@CTN,1,72", "@IDF", SEND_COMMAND TP,"@IDF"

Programming
28 Color Passive-Matrix LCD Touch Panels
Shorthand Send_Commands (Cont.)
@CPG
Sets the page with
specified page
name back-
ground color to
the specified
color.
This only works if the new background color is not the same as the current color.
Syntax:
"’@CPG’,<color_number>,’<page name>’"Variab les :
color number = See theColors and Programming Numbers table on page 26.
page name = 1 – 50 ASCII characters
Example:
SEND_COMMAND TP,"’@CPG’,87,’Main Page’"Sets the page title to Main Page, and the color to Black.
@CPP
Sets the page with
specified page
name back-
ground color to
the specified
color.
This only works if the specified background color is not the same as the current color.
Syntax:
"’@CPP’,<color_number>,’<pop-up page name>’"Variab les :
color number = See theColors and Programming Numbers table on page 26.
pop-up page name = 1 – 50 ASCII characters
Example:
SEND_COMMAND TP,"’@CPP’,54,’Audio Page’"Sets the popup page title to Audio Page, and the color to Purple.
@CTF
Sets the OFF
feedback text
color to the speci-
fied color.
This only works if the specified background color is not the same as the current color.
Syntax:
"’@CTF’,<variable text address>,<color_number>"Variab les :
variable text address = 1 – 255
color number = See theColors and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"’@CTF’,1,48"Sets the OFF feedback text color to Blue for variable text button 1.
@CTN
Sets the ON feed-
back text color to
the specified
color.
This only works if the specified background color is not the same as the current color.
Syntax:
"’@CTN’,<variable text address>,<color_number>"Variab les :
variable text address = 1 – 255
color number = See theColors and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"’@CTN’,1,72"Sets the ON feedback text color to White for variable text button 1.
@IDF
The touch panel
returns its
MS-DOS file
name in a string.
Syntax:
"’@IDF’"Example:
SEND_COMMAND TP,"’@IDF’"The touch panel returns its MS-DOS file name in a string.