0% found this document useful (0 votes)
7 views

Appendix4 - LCD Commands

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Appendix4 - LCD Commands

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

[1] LCD Instruction format (HD44780 LCD contnroller):

[2] Useful LCD Commands for HD44780:

Sr.No. Hex Code Command to LCD instruction Register


1 01 Clear display screen
2 02 Return home
3 04 Auto Decrement cursor (to left)
4 06 Auto Increment cursor (to right)
5 05 Shift display right
6 07 Shift display left
7 08 Display off, cursor off
8 0A Display off, cursor on
9 0C Display on, cursor off
10 0E Display on, cursor blinking
11 0F Display on, cursor blinking
12 10 Shift cursor position to left
13 14 Shift cursor position to right
14 18 Shift the entire display to the left
15 1C Shift the entire display to the right
16 80 Force cursor to beginning ( 1st line)
17 8F Force cursor to end ( 1st line)
18 C0 Force cursor to beginning ( 2nd line)
19 CF Force cursor to end ( 2nd line)
20 30 8 bit mode , 1 lines, 5×7 matrix
21 38 8 bit mode , 2 lines, 5×7 matrix
22 20 4 bit mode , 1 lines, 5×7 matrix
23 28 4 bit mode , 2 lines, 5×7 matrix

You might also like