parallel lcd
vontrapp
Posts: 5
Hi,
I am using a 1-line 16-character lcd in 4 bit mode (unknown brand, type gdm1601c). Unfortunately it shows only the first 8 characters. Longer data is truncated after the 8th character.
Anybody knows why?
thanks,
Hans
I am using a 1-line 16-character lcd in 4 bit mode (unknown brand, type gdm1601c). Unfortunately it shows only the first 8 characters. Longer data is truncated after the 8th character.
Anybody knows why?
thanks,
Hans
Comments
·
·· Often these LCD Displays are 1 line, but need to be configured in two line mode, and the second half of the display is actually line 2.· It sounds weird, but I have a few like this.· I would try that. ·I bet that’s it.· I hope this helps.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
My LCD has 2 lines, and I use:
LCDCMD Lcd, %00101000 ' set to 2-line mode with 5x8 font
I think that in the case of a one line, you would need
LCDCMD Lcd, %00100000
Or something similar, according to the Stamp manual 2.2, page 163.
-Ben
Thanks for the reply. But how do I write to the second line? data is still truncated after the eigth character.
thanks,
Hans
Just found it, by setting the ddram adres.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support