English
Language : 

HD44780U Datasheet, PDF (19/59 Pages) Hitachi Semiconductor – Dot Matrix Liquid Crystal Display Controller/Driver
HD44780U
Table 5
Relationship between CGRAM Addresses, Character Codes (DDRAM) and Character
Patterns (CGRAM Data)
For 5 × 8 dot character patterns
Character Codes
(DDRAM data)
76543210
High
Low
0000*000
0000*001
CGRAM Address
543210
High
Low
000
001
000
001
010
011
100
101
110
111
000
001
010
011
100
101
110
111
000
001
Character Patterns
(CGRAM data)
76543210
High
Low
***
***
***
***
***
11110
10001
10001
11110
10100
10010
10001
00000
10001
01010
11111
00100
11111
00100
00100
00000
Character
pattern (1)
Cursor position
Character
pattern (2)
Cursor position
0000*111
111
100
101
110
111
***
Notes: 1. Character code bits 0 to 2 correspond to CGRAM address bits 3 to 5 (3 bits: 8 types).
2. CGRAM address bits 0 to 2 designate the character pattern line position. The 8th line is the
cursor position and its display is formed by a logical OR with the cursor.
Maintain the 8th line data, corresponding to the cursor display position, at 0 as the cursor display.
If the 8th line data is 1, 1 bits will light up the 8th line regardless of the cursor presence.
3. Character pattern row positions correspond to CGRAM data bits 0 to 4 (bit 4 being at the left).
4. As shown Table 5, CGRAM character patterns are selected when character code bits 4 to 7 are
all 0. However, since character code bit 3 has no effect, the R display example above can be
selected by either character code 00H or 08H.
5. 1 for CGRAM data corresponds to display selection and 0 to non-selection.
* Indicates no effect.
19