View previous topic :: View next topic |
Author |
Message |
GeertJ
Joined: 27 Dec 2005 Posts: 4
|
|
Back to top |
|
|
SvendP
Joined: 18 Apr 2006 Posts: 3
|
Posted: Thu Dec 07, 2006 11:55 am Post subject: |
|
|
Hi.
That is perfectably normal for en LCD display to behave like that.
The adress for charaters are line 1 - 3 - 2 - 4.
So you will have to live with it.
Regards
Svend |
|
Back to top |
|
|
SvendP
Joined: 18 Apr 2006 Posts: 3
|
Posted: Thu Dec 07, 2006 12:04 pm Post subject: |
|
|
Hi.
That is perfectably normal for en LCD display to behave like that.
The adress for charaters are line 1 - 3 - 2 - 4.
So you will have to live with it.
Regards
Svend |
|
Back to top |
|
|
GeertJ
Joined: 27 Dec 2005 Posts: 4
|
Posted: Fri Dec 08, 2006 2:21 pm Post subject: |
|
|
forgot to mention this, when I write something on the fourth of third line, so with this code
Code: |
Locate 3,1
Lcd "write something"
locate 4,1
lcd "write something"
|
he write's it on the second and fourth line, but he starts in the middle of the line (think on character 10 or so)... |
|
Back to top |
|
|
Gianni
Joined: 09 Jul 2004 Posts: 61 Location: Italy
|
Posted: Sun Dec 10, 2006 12:45 pm Post subject: |
|
|
Hi.
You can try to slow down the cpu clock frequency to 2-5MHz
Sometimes a delay may help
Locate 3,1
delay
Lcd "write something"
locate 4,1
delay
lcd "write something"
Regards |
|
Back to top |
|
|
GeertJ
Joined: 27 Dec 2005 Posts: 4
|
Posted: Sun Dec 10, 2006 3:09 pm Post subject: |
|
|
Tried that, but no changes in lcd |
|
Back to top |
|
|
Gianni
Joined: 09 Jul 2004 Posts: 61 Location: Italy
|
Posted: Mon Dec 11, 2006 10:20 am Post subject: |
|
|
I suppose that the display is not 100% HD44780 compatible.
I can only suggest to write your own routine for locate,cls,lcd,cursor,.
Then redirect the output to your lcd routine with $serialoutput and replace the lcd statement with print.
Regards |
|
Back to top |
|
|
GeertJ
Joined: 27 Dec 2005 Posts: 4
|
Posted: Mon Dec 11, 2006 10:59 am Post subject: |
|
|
yep, thats probably the problem, the LCD that I use has the KS0073 controller on board, which is, i qoute the manufacture, "almost 100% compatible with the HD44780 controller".... |
|
Back to top |
|
|
|