The document describes the binary codes and corresponding hexadecimal codes used to control an LCD display. It lists codes for clearing the display, moving the cursor, turning the display on and off, and shifting the display and cursor position. Additional codes specify the character set and allow forcing the cursor to a specific line on a 2-line display.
The document describes the binary codes and corresponding hexadecimal codes used to control an LCD display. It lists codes for clearing the display, moving the cursor, turning the display on and off, and shifting the display and cursor position. Additional codes specify the character set and allow forcing the cursor to a specific line on a 2-line display.
The document describes the binary codes and corresponding hexadecimal codes used to control an LCD display. It lists codes for clearing the display, moving the cursor, turning the display on and off, and shifting the display and cursor position. Additional codes specify the character set and allow forcing the cursor to a specific line on a 2-line display.
The document describes the binary codes and corresponding hexadecimal codes used to control an LCD display. It lists codes for clearing the display, moving the cursor, turning the display on and off, and shifting the display and cursor position. Additional codes specify the character set and allow forcing the cursor to a specific line on a 2-line display.
Download as XLSX, PDF, TXT or read online from Scribd
Download as xlsx, pdf, or txt
You are on page 1of 8
Binary Code
(Hex) Working of LCD commands
Code 0000 0001 1 Clear display screen 0000 0010 2 Return home 0000 0100 4 Decrement cursor (shift cursor to left) 0000 0110 6 Increment cursor (shift cursor to right) 0000 0101 5 Shift display right 0000 0111 7 Shift display left 0000 1000 8 Display off, cursor off 0000 1010 A Display off, cursor on 0000 1100 C Display on, cursor off 0000 1110 E Display on, cursor (_) blinking 0000 1111 F Display on, cursor ([block]) blinking 0001 0000 10 g 0001 0100 14 Shift cursor position to right 0001 1000 18 Shift the entire display to the left 0001 1100 1C Shift the entire display to the right 1000 0000 80 Force cursor to beginning to 1st line 1100 0000 C0 Force cursor to beginning to 2nd line 1001 0000 90 Force cursor to beginning to 3rd line 1101 0000 D0 Force cursor to beginning to 4th line 0011 1000 38 2 lines and 5×7 matrix (8-bit mode) 0010 1000 28 2 lines and 5×7 matrix (4-bit mode) Binary Code (Ascii Decimal) Character