Displaying characters on second line of 16x2 LCD JHD162A

Status
Not open for further replies.

nipun1988

Newbie level 1
Joined
Mar 21, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
Hi!
I am unable to print different characters on 2 different lines of the LCD JHD162A using AT89S52 microcontroller.
Even by passing the command for the appropriate address, the characters always start from the first position of the first line. I am using assembly language to program.

Please help
 

I have not used that LCD but usually there is simply a command to set the line such as 0x80 for the first and 0xC0 for the second. make sure that when you are writing that you arent accidently calling the home command which would put it back to the first line
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…