4: control command table
1602 LCD module of reading and writing, and the screen and light mark operation operations are
through the instructions of programming realize. (note: 1 for high Level, 0 for low level)
Instruction 1: clear display, instruction code 01 H, the cursor is reset to address 00 H position.
Instruction 2: the cursor reset, the cursor to return to address 00 H. Instruction 3: the cursor and
display mode I/D: cursor movement direction, high level move to the right, low level moves left S:
all on the screen.Is the text moves left or move to the right. High level said effective, low level is
invalid.
Instruction 4: display switch control. D: control overall display of open and shut, high level says open
display, low level said shut show
And C: the open and close to control a cursor, high level said the cursor, low level said no cursor
B: whether to control a cursor flashing,
High level flashing, low level do not twinkle.
Command 5: the cursor or display shift S/C: high electricity at ordinary times of mobile displays
text, low electric usually move the cursor.
Command 6: function setting command DL: high electricity at ordinary times for four bus, low
electricity at ordinary times for eight bus N: low electricity at ordinary times for single line
Display, high electric usually pair on display F: low electricity at ordinary times display 5 x7 of dot
matrix characters, high electric usually display 5 x10 of dot matrix characters.
Command 7: character generator RAM address Settings.
Instructions 8: DDRAM address Settings.
Instructions 9: read the busy signal and the cursor address BF: a sign for busy, high level said busy,
this time the module can't receive commands or
The data, if for low level is not busy said. Directive 10: write
data.
11 instructions: read data.