0% found this document useful (0 votes)
32 views1 page

No. Instruction Hex Decimal

This document lists 17 LCD display instructions including their hexadecimal and decimal codes. The instructions set various display functions like character size, display on/off, cursor control, and clearing. They also allow addressing specific locations in the dynamic RAM (DDRAM) and character generator RAM (CGRAM) to control the display.

Uploaded by

gin220
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views1 page

No. Instruction Hex Decimal

This document lists 17 LCD display instructions including their hexadecimal and decimal codes. The instructions set various display functions like character size, display on/off, cursor control, and clearing. They also allow addressing specific locations in the dynamic RAM (DDRAM) and character generator RAM (CGRAM) to control the display.

Uploaded by

gin220
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

No.

Instruction

Hex

Decimal

Function Set: 8-bit, 1 Line, 5x7 Dots

0x30

48

Function Set: 8-bit, 2 Line, 5x7 Dots

0x38

56

Function Set: 4-bit, 1 Line, 5x7 Dots

0x20

32

Function Set: 4-bit, 2 Line, 5x7 Dots

0x28

40

Entry Mode

0x06

Display off Cursor off


(clearing display without clearing DDRAM content)

0x08

Display on Cursor on

0x0E

14

Display on Cursor off

0x0C

12

Display on Cursor blinking

0x0F

15

10

Shift entire display left

0x18

24

12

Shift entire display right

0x1C

30

13

Move cursor left by one character

0x10

16

14

Move cursor right by one character

0x14

20

15

Clear Display (also clear DDRAM content)

0x01

16

Set DDRAM address or coursor position on display

0x80+add*

128+add*

17

Set CGRAM address or set pointer to CGRAM location

0x40+add**

64+add**

You might also like