Sharp LM161 Series User Manual page 12

Dot-matrix lcd units
Table of Contents

Advertisement

Dot-Matrix LCD Units
Character Code
(DD RAM Data)
7
6 5 4 3 2 1 0
High-order
bit
0 0 0 0 * 0 0 0
0 0 0 0 * 0 0 1
0 0 0 0 * 1 1 1
NOTES:
1. Character code bits 0 - 2 correspond to CG RAM address bits
3 - 5. Each of the 8 unique bit strings designates one of the 8
character patterns.
2. CG RAM address bits 0 - 2 designate the row position of each
character pattern. The 8th row is the cursor position. CG RAM
data in the 8th row is OR'ed with the display cursor. Any '1'
bits in the 8th row will result in a displayed dot regardless of the
cursor status (ON/OFF). Accordingly, if the cursor is to be
used, CG RAM data for the 8th row should be set to '0'.
3. CG RAM data bits 0 - 4 correspond to the column position of
each character pattern bit 4 corresponding to the left most
column of the character pattern. CG RAM data bits 5 - 7 are
not used for displaying character patterns, but may be used as
a general purpose RAM area.
10
Table 6. Relationship Among Character Code
(DD RAM), CG RAM Address, and Character Pattern (CG RAM)
CG RAM Address
5 4 3 2 1 0
Low-order
High-order
Low-order
bit
bit
bit
0 0 0
0 0 1
0 1 0
0 0 0 0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
0 0 0
0 0 1
0 1 0
0 0 1 0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
0 0 0
0 0 1
1 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Character Pattern
(CG RAM Data)
7
6 5 4 3 2 1 0
High-order
Low-order
bit
bit
1
1
1 1 0
*
*
*
1 0
0 0 1
1 0
0 0 1
1 1
1 1 0
1 0
1 0 0
1 0
0 1 0
1 0
0 0 1
0 0
0 0 0
*
*
*
1
0
0 0 1
*
*
*
0 1
0 1 0
1 1
1 1 1
0 0
1 0 0
1 1
1 1 1
0 0
1 0 0
0 0
1 0 0
0 0
0 0 0
*
*
*
*
*
*
*
*
*
4. As shown in tables 4 and 5, character patterns in the CG RAM
are accessed by character codes with bits 4 - 7 equal to '0'. For
example, the character pattern 'R', shown in the first sample
character pattern of the table, is selected by the character code
'00' (HEX) or '08' (HEX), since bit 3 of the character code is a
don't care" bit (i.e., can take either value, '00' or '1').
5. CG RAM data '1' produces a dark dot, and data '0' produces a
light dot in the corresponding position on the display panel.
*
6.
= Signifies a "don't care" bit
Sample
Character
Pattern
(1)
Cursor
Position
Sample
Character
Pattern
(2)
LCD27-8
Display Unit User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lm162 seriesLm202 seriesLm40 2 series

Table of Contents