PDA

View Full Version : LCD black blocks problem.



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.

DynamoBen
- 16th February 2007, 14:56
"It appears that some LCDs need a few seconds to initiate properly before any commands are sent to it after power up."

I would say most if not all do. Always include a pause. :)

mister_e
- 17th February 2007, 17:36
mmm which LCD brand and model need up to 3 seconds startup???

EDIT: may it guess? OPTREX?