ST7066U
$" DL : Interface data length control bit
When DL = "High", it means 8-bit bus mode with MPU.
When DL = "Low", it means 4-bit bus mode with MPU. So to speak, DL is a signal to select
8-bit or 4-bit bus mode.
When 4-bit bus mode, it needs to transfer 4-bit data by two times.
$" N : Display line number control bit
When N = "Low", it means 1-line display mode.
When N = "High", 2-line display mode is set.
$" F : Display font type control bit
When F = "Low", it means 5 x 8 dots format display mode
When F = "High", 5 x11 dots format display mode.
N
L
F
L
No. of Display Lines Character Font Duty Factor
1
1
2
5x8
5x11
5x8
1/8
L
H
x
1/11
1/16
H
#" Set CGRAM Address
RS
RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
1
AC5 AC4 AC3 AC2 AC1 AC0
Code
Set CGRAM address to AC.
This instruction makes CGRAM data available from MPU.
#" Set DDRAM Address
RS
0
RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
1
AC6 AC5 AC4 AC3 AC2 AC1 AC0
Code
Set DDRAM address to AC.
This instruction makes DDRAM data available from MPU.
When 1-line display mode (N = 0), DDRAM address is from "00H" to "4FH".
In 2-line display mode (N = 1), DDRAM address in the 1st line is from "00H" to "27H", and
DDRAM address in the 2nd line is from "40H" to "67H".
V2.0
2001/03/01
20/42