Table of instructions and their descriptions that control Liquid-Crystal-Display functions.

Instruction RS D7 D6 D5 D4 D3 D2 D1 D0 Description Time
Clear Display 0 0 0 0 0 0 0 0 1 Clears all the display and returns to the home position (Address 0) 1.64mS
Cursor At Home 0 0 0 0 0 0 0 1 0 Returns the cursor to the home position (Address 0) 1.64mS
Entry Mode Set 0 0 0 0 0 0 1 1/D S Sets the cursor move direction and specifies or not to shift the display. These operations are performed during data read or write. 40uS
Display On/Off Control 0 0 0 0 0 1 D C B Sets On/Off the entire display (D), Cursor On/Off (C), and blink cursor (B) 40uS
Cursor/Display Shift 0 0 0 0 1 S/C R/L 0 0 Moves the cursor and shifts the display without changing DDRAM contents. 40uS
Function Set 0 0 0 1 1 1 F 0 0 Sets interface data length(DL), number of display lines(N) and character font(F). 40uS

RS = 0 LCD Control
RS = 1 ASCII Code


ee481