LCD Commands
LCD Commands
Code
Command Description Execution
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Time
Clears the display and returns
Clear
Display 0 0 0 0 0 0 0 0 0 1 the cursor to the home position 82µs~1.64ms
(address 0).
Returns the cursor to the home
Return position (address 0). Also returns
Home 0 0 0 0 0 0 0 0 1 * a shifted display to the home 40µs~1.64ms
position. DD RAM contents
remain unchanged.
Sets the cursor move direction
Entry 0 0 0 0 0 0 0 1 I/D S and enables/disables the display.
Mode 40µs
Set
Turns the display ON/OFF (D), or
Display the cursor ON/OFF (C), and blink
ON/OFF 0 0 0 0 0 0 1 D C B of the character at the cursor 40µs
Control position (B).
Page 45