[En-Nut-Discussion] Multiline LCD: How to write on second line?

Arjan Vroegop atjev at hotmail.com
Tue May 24 11:56:50 CEST 2005


Hi,

According to the datasheet the memory address of the 2nd line should be 
0x40. For more information (and the datasheet) about the display I'm using 
see http://www.voti.nl/winkel/catalog.html?LCD-10

I've tried to send a very long string (80 or more chars) to the display, but 
nothing appears on the second line. Maybe this is an issue with the LCD 
itself and not the software or Ethernut board... I'll contact the shop where 
I've bought this LCD, maybe they have an answer.

Arjan

>From: Ole Reinhardt <ole.reinhardt at kernelconcepts.de>
>Reply-To: "Ethernut User Chat (English)" <en-nut-discussion at egnite.de>
>To: "Ethernut User Chat (English)" <en-nut-discussion at egnite.de>
>Subject: Re: [En-Nut-Discussion] Multiline LCD: How to write on second 
>line?
>Date: Tue, 24 May 2005 11:36:25 +0200
>
>Hi,
>
> > The lcd_gotoxy function (see below) works in the x-direction, I can move
> > text to the right with
> > lcd_gotoxy(4,0). With I give the command lcd_gotoxy(0,1) the text 
>appears on
> > the first line. I've tried several other values, but nothing works.
>
>Do you have a datasheet? Perhaps your display uses a different memory
>layout. Will say line two does not start at memory location 0x40 but
>anywhere else... Try so send a long string with 80characters and figure
>out where your second line starts. Next patch the hd44780 driver
>appropriate (the part where the dcb is defined). You'll need to change
>the virtual line width.
>
>Regards,
>
>Ole Reinhardt
>
>--
>kernel concepts    Tel: +49-271-771091-14
>Dreisbachstr. 24   Fax: +49-271-771091-19
>D-57250 Netphen    E+ : +49-177-7420433
>--
>
>
>_______________________________________________
>En-Nut-Discussion mailing list
>En-Nut-Discussion at egnite.de
>http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the En-Nut-Discussion mailing list