Programming
26 Color Passive-Matrix LCD Touch Panels
Programming Numbers
The following information provides the programming numbers for colors, fonts, and borders
! Colors can be used to set the colors on buttons, sliders, gauges, and pages. The lowest
color number represents the lightest color-specific display; the highest number represents
the darkest display. For example, 0 represents light red, and 5 is dark red.
! Font styles are used to program text fonts on buttons, sliders, gauges, and pages. The
programming numbers are assigned consecutively when downloaded to the touch panel.
! Border styles can be used to program borders on buttons, sliders, and gauges.
Colors and Programming Numbers
Color No. Color No.
Red 0 - 5 Purple 54 - 59
Orange 6 - 11 Magenta 60 - 65
Yellow 12 - 17 Pink 66 - 71
Lime 18 - 23 White 72 - 77
Green 24 - 29 Light Gray 78 - 83
Aqua 30 - 35 Dark Gray 84 - 86
Cyan 36 - 41 Black 87
Royal 42 - 47 Transparent 255
Blue 48 - 53
You must import variable text fonts into a TPDesign3 project file, and download the
project file containing the fonts to the touch panel. The variable fonts are
programming numbers assigned by the touch panel during the download process.
Font Styles and Programming Numbers
No. Font styles No. Font styles
1 Extra small 5 Extra large
2 Small 6 Hollow medium
3 Medium 8 Hollow extra large
4 Large 32 - 255 Variable fonts
Border Styles and Programming Numbers
No. Border styles No. Border styles
0 No border 11 Double shadow
1 No border special 20 3-dimensional rectangle 1
2 Single line 21 3-dimensional rectangle 2
3 Double line 22 3-dimensional round 1
4 Triple line 23 3-dimensional round 2
5 Single rounded 24 3-dimensional neon 1
6 Double rounded 25 3-dimensional neon 2
7 Single raised 26 3-dimensional neon blue
8 Double raised 27 3-dimensional neon green
9 Triple raised 40 Single diamond
10 Double-line two single 41 Double diamond