PDA

View Full Version : LCDOUT problem



Megahertz
- 13th June 2012, 17:24
I am using 16 x 4 LCD and the data on third and fourth line is appearing with some blank spaces added automatically in the beginning. The data I am sending is shifted towards the right side by 4 blank places.

I have searched the forum and have tried defining the LCD lines as 4 and 2 as well. But it didn't worked. Has anyone else had this experience?

Megahertz
- 13th June 2012, 17:33
Problem solved.

HenrikOlsson
- 13th June 2012, 18:48
It would be nice if you also told us what the problem was.
Then, when someone else comes here, searching the forum and looking for an answer they may find your post. We all learn and benefit from that.

/Henrik.

Megahertz
- 14th June 2012, 00:00
Of course, The problem was the start of the third & fourth line's addresses. The PBP manual says that they could be different. Paying more attention to this advise and playing with the address $90 instead of $94(as in the manual) solved the problem. Also for the fourth line I used $D0 instead of $D4.