The 8051 Microcontroller and Embedded

(lily) #1
Department of Computer Scien

ce and Information Engineering

National Cheng Kung University, TAIWAN

LCD HANEL
INTERFACINGLCD Command

Codes


LCD Command Codes Code


(Hex)

Command to LCD Inst

ruction Register

1 2 4 6 5 7 8 A C E F 10 14 18 1C 80 C0 38

Clear display screenReturn homeDecrement cursor (shift cursor to left)Increment cursor (shift cursor to right)Shift display rightShift display leftDisplay off, cursor offDisplay off, cursor onDisplay on, cursor offDisplay on, cursor blinkingDisplay on, cursor blinkingShift cursor position to leftShift cursor position to rightShift the entire display to the leftShift the entire display to the rightForce cursor to beginning to 1st lineForce cursor to beginning to 2nd line2 lines and 5x7 matrix
Free download pdf