|
GDM240128A Datasheet, PDF (20/29 Pages) List of Unclassifed Manufacturers – LCD MODULE | |||
|
◁ |
Userâs Manual
Bottom right 80H, 80H, 80H, 8CH, 82H, 82H, 7EH, 00H
83H
Write into CGRAM
WRCG: MOV R2, #03H
MOV R3, #00H
MOV R4, #22H
; set offset register
LCALL WR
MOV DPTR, #TAB1
; matrix data home address
MOV R2, #00H
MOV R3, #1CH
; CGRAM address
MOV R4, #24H
; set address pointer
LCALL WR
MOV R4, #0B0H
; set auto write
LCALL WR2
MOV R2, #20H
; number of matrix data
WRCG1: LCALL BF3
; check status STA3
CLR A
MOVC A, @A+DPTR ; read matrix data
LCALL WR4
; write into CGRAM
INC DPTR
DJNZ R2, WRCG1
MOV R4, #0B2H
; auto reset
LCALL WR2
RET
TAB1: DB 04H, 04H, 04H, 04H, 04H, 7CH, 04H, 04H
DB 04H, 04H, 04H, 04H, 1CH, 0E4H, 44H, 00H
DB 80H, 80H, 88H, 98H, 0A0H, 0C0H, 80H, 80H
DB 80H, 80H, 80H, 80H, 82H, 82H, 7EH, 00H
5-8-4.Chinese Characters Display
Matrix data of Chinese character are in the sequence of top left cornerï¼8 bytes
from top to bottomï¼Ã left bottom left cornerï¼8 bytes from top to bottomï¼Ãtop
right corner (8 bytes from top to bottomï¼Ãbottom right corner(8 bytes from top
to bottomï¼.
ï¼1ï¼ Display of Chinese Character in Text Mode
In this mode, only 64 Chinese characters with 16X16 dots can be entered as a
maximum. (4 character codes for a Chinese character)ã
The address pointer is already positioned on the top left corner of the character
to be entered.
Register to be used: R2, R3, R4, A; input register: R3ï¼store Chinese character
codesï¼
- 19 -
|
▷ |