Table 1. Lcd Command And Character Codes - Axiom MCU MC9S12DP256 User Manual

Single board computer for motorola mc9s12dp256
Table of Contents

Advertisement

C M L 1 2 S D P 2 5 6

TABLE 1. LCD Command and Character Codes

Command codes are used for LCD setup and control of character and cursor position. All
command codes are written to LCD panel address $B5F0. The BUSY flag (bit 7) should be
tested before any command updates to verify that any previous command is completed. A
read of the command address $B5F0 will return the BUSY flag status and the current display
character location address.
Command
Clear Display, Cursor to Home
Cursor to Home
Entry Mode:
Cursor Decrement, Shift off
Cursor Decrement, Shift on
Cursor Increment, Shift off
Cursor Increment, Shift on
Display Control:
Display, Cursor, and Cursor Blink off
Display on, Cursor and Cursor Blink off
Display and Cursor on, Cursor Blink off
Display, Cursor, and Cursor Blink on
Cursor / Display Shift: (nondestructive move)
Cursor shift left
Cursor shift right
Display shift left
Display shift right
Display Function (default 2x40 size)
Character Generator Ram Address set
Display Ram Address and set cursor location
LCD Character Codes
$20
Space
$2D
$21
!
$2E
$22
"
$2F
$23
#
$30
$24
$
$31
$25
%
$32
$26
&
$33
$27
'
$34
$28
(
$35
$29
)
$36
$2A
*
$37
$2B
+
$38
$2C
,
$39
-
$3A
:
$47
.
$3B
;
$48
/
$3C
{
$49
0
$3D
=
$4A
1
$3E
}
$4B
2
$3F
?
$4C
3
$40
Time
$4D
4
$41
A
$4E
5
$42
B
$4F
6
$43
C
$50
7
$44
D
$51
8
$45
E
$52
9
$46
F
$53
Code
$01
$02
$04
$05
$06
$07
$08
$0C
$0E
$0F
$10
$14
$18
$1C
$3C
$40-$7F
$80- $FF
G
$54
T
$61
A
H
$55
U
$62
B
I
$56
V
$63
C
J
$57
W
$64
D
K
$58
X
$65
E
L
$59
Y
$66
F
M
$5A
Z
$67
G
N
$5B
[
$68
H
O
$5C
Yen
$69
I
P
$5D
]
$6A
J
Q
$5E
^
$6B
K
R
$5F
_
$6C
L
S
$60
`
$6D
M
23
0 7 / 1 7 / 0 2
Delay
1.65ms
1.65ms
40us
40us
40us
40us
40us
40us
40us
40us
40us
40us
40us
40us
40us
40us
40us
$6E
n
$7B
{
$6F
o
$7C
|
$70
p
$7D
}
$71
q
$7E
>
$72
r
$7F
<
$73
s
$74
t
$75
u
$76
v
$77
w
$78
x
$79
y
$7A
z

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cml12s-dp256

Table of Contents