Instruction Set

   Instruction                                 Code

                             RS  R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
                             ==  === === === === === === === === ===
Clear Display                 0   0   0   0   0   0   0   0   0   1

Return Home                   0   0   0   0   0   0   0   0   1   *

Entry Mode Set                0   0   0   0   0   0   0   1  I/D  S

Display ON/OFF                0   0   0   0   0   0   1   D   C   B


Cursor and Display Shift      0   0   0   0   0   1  S/C R/L  *   *

Function Set                  0   0   0   0   1   DL  N   F   *   *

Set CG RAM address            0   0   0   1   A5  A4  A3  A2  A1  A0

Set DD RAM address            0   0   1   A6  A5  A4  A3  A2  A1  A0

Read busy flag and address    0   1   BF  A6  A5  A4  A3  A2  A1  A0

Write data to CG or DD RAM    1   0   D7  D6  D5  D4  D3  D2  D1  D0

Read data from CG or DD RAM   1   1   D7  D6  D5  D4  D3  D2  D1  D0

CGRAM
CGROM

Notes
* means 0 or 1 have no effect

LCD . FPGA


[ Back ]