Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is the difference between the command of 2x16 LCD and 2x8 LCD?

Status
Not open for further replies.

WinterInJuly

Member level 4
Joined
Jun 3, 2005
Messages
68
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Activity points
1,822
Hi all!
I have a character LCD 2x8, When I send a command 0x80 to LCD, the cursor jumps to the first line, first position but when I send a command 0xc0 to LCD, the cursor can not jump to the second line, first column.
What is the difference between the command of 2x16 LCD with 2x8 LCD?
Thank you!
 

lcd command (0xc0)

in general cases it suppose to jump to second line, i m using a 8 chrc 2 line lcd it jumps to 2nd line at 0xC0, btw wat is the controller of ur lcd ? hav u looked up in its datasheet ?

regards
 

2x8 lcd

1. Check if you sent on LCD-Init command:

movlw 0x20; , 4-bit-control, 2-lines, 5x7 pixels
call OutLcdControl

2. May be, you have LCD 2lines x 8chars, but controller is 1x16 !!!
Test it !

Added after 2 minutes:

correction !!!

movlw 0x28
call OutLcdControl
.
.
.
 

2x8 lcd control

I send to LCD an Init_Command =0x38, means 8data bit, 2 line, 5x7 dot matrix
I will check again
Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top