Go Down

Topic: ShiftRegLCD lib (LiquidCrystal 3-wire replacement) (Read 8 times) previous topic - next topic

Mouse

Is it the sort of thing I could alter / try out if you pointed me in the right direction?

raron

#16
Aug 13, 2009, 12:47 am Last Edit: Aug 13, 2009, 12:48 am by raron Reason: 1
Mouse:

Ok. In that case I'm not so sure I should change the library yet. I don't have any 4-line displays to play with either.

Have you tried the "srlcd.setCursor(column,row);" method?

Mouse

Quote
Have you tried the "srlcd.setCursor(column,row);" method?

No, but I'll try to look it up tonight when I've got some free time.

Oldrich

Hello Guys!
I have to try that. Thank you for a great job! :)
Regards,
Oldrich

floresta

Mouse:

Quote
... The data-sheet is not helpful in giving information about addressing the four lines or the memory map layout of the displayed characters.

I have some information about LCD addressing at http://web.alfredstate.edu/weimandn.  I am working on an update to include 16x4 displays, but the current info should help you understand the addressing.

By the way, the number of 'lines' that you specify in the initialization does NOT refer to the number of visible lines on the display.  It refers to the number of lines of memory used, as interpreted by the LCD controller.   The only valid choices are 1 or 2, and 2 is the correct choice for almost all LCD modules (even many of those with only one line on the display).

Don

Go Up