LCD Type MCU
How to Add a User-define Matrix
The HT-LCDS supports a mapping strategy (File menu, Import user matrix command) which can
help define a new matrix if the COM/SEG number is not equal to the ROW/COL number of the
LCD panel. For example,
Assume there is an LCD panel of 2 COMs and 6 SEGs, and assuming this LCD panel is a 3
ROWs´4 COLs matrix, as shown in the following mapping
COM0-SEG0
COM1-SEG0
COM0-SEG4
COM0-SEG1
COM1-SEG1
COM0-SEG5
COM0-SEG2
COM1-SEG2
COM1-SEG4
COM0-SEG3
COM1-SEG3
COM1-SEG5
A definition file for the above matrix can be defined as follows,
; MATRIX.DEF
; Comment line
ROW = 3
COLUMN = 4
; mapping syntax: ROW,COL => COM,SEG
0 , 0 => 0 , 0 ; Map Row0 Col0 to COM0 SEG0
0 , 1 => 0 , 1 ; Map Row0 Col1 to COM0 SEG1
0 , 2 => 0 , 2 ; Map Row0 Col2 to COM0 SEG2
0 , 3 => 0 , 3 ; Map Row0 Col3 to COM0 SEG3
1 , 0 => 1 , 0 ; Map Row1 Col0 to COM1 SEG0
1 , 1 => 1 , 1 ; Map Row1 Col1 to COM1 SEG1
1 , 2 => 1 , 2 ; Map Row1 Col2 to COM1 SEG2
1 , 3 => 1 , 3 ; Map Row1 Col3 to COM1 SEG3
2 , 0 => 0 , 4 ; Map Row2 Col0 to COM0 SEG4
2 , 1 => 0 , 5 ; Map Row2 Col1 to COM0 SEG5
2 , 2 => 1 , 4 ; Map Row2 Col2 to COM1 SEG4
2 , 3 => 1 , 5 ; Map Row2 Col3 to COM1 SEG5
Define the Pattern Using the Panel Editor
The HT-LCDS supports a full panel edit interface to define the LCD panel patterns. If a panel pic-
ture file has been drawn already, then it is not necessary to set all pattern files in the panel respec-
tively. The only requirement is to select the pattern positions.
LCD Editor
174
Home Index Bookmark Pages Text
Previous Next
Pages: Home Index