muddy0409
- 16th February 2007, 10:20
Hi all,
Yep, I had the problem that I guess most have had. Big black blocks on the first line and nothing on the second line of an LCD on a PCB made for a particular project.
After much swearing and cursing, I decided to search this place for a possible answer......
BINGO...The answer was found in the middle of a big long list of my search results, so I thought I'd suggest a first "try this" answer...
It appears that some LCDs need a few seconds to initiate properly before any commands are sent to it after power up. So, after the initial DEFINES for the ports etc for the LCD, just add a PAUSE 3000 before you tell the LCD to do anything. Fixed the problem I had straight away.
Hope this helps someone else...
Regards,
Peter Moritz.
Yep, I had the problem that I guess most have had. Big black blocks on the first line and nothing on the second line of an LCD on a PCB made for a particular project.
After much swearing and cursing, I decided to search this place for a possible answer......
BINGO...The answer was found in the middle of a big long list of my search results, so I thought I'd suggest a first "try this" answer...
It appears that some LCDs need a few seconds to initiate properly before any commands are sent to it after power up. So, after the initial DEFINES for the ports etc for the LCD, just add a PAUSE 3000 before you tell the LCD to do anything. Fixed the problem I had straight away.
Hope this helps someone else...
Regards,
Peter Moritz.