LCD HD44780 Black Segments?!?
Farthinder
Posts: 9
I am having some problems writing to a HD44780 LCD screen. I can send letters and commands just fine to it but almost always after i initiate the display and send letters to it starts of making anywhere between 2-20 of the lcd segments totally black and then the text i entered follows.
For i a while i thought it was a wiring error because when i touch and ground some of the wires this happens but i have double checked the weiring and made sure this doesn't happen by it self.
So i thought maybe its a programing error, maybe i am sending the commands (esp the enable command) to fast so i tried slowing it down with some waitcnt commands but still the same problem.
What am i doing wrong, have i overlooked some weires?
Post Edited (Farthinder) : 4/15/2009 9:30:44 PM GMT
For i a while i thought it was a wiring error because when i touch and ground some of the wires this happens but i have double checked the weiring and made sure this doesn't happen by it self.
So i thought maybe its a programing error, maybe i am sending the commands (esp the enable command) to fast so i tried slowing it down with some waitcnt commands but still the same problem.
What am i doing wrong, have i overlooked some weires?
Post Edited (Farthinder) : 4/15/2009 9:30:44 PM GMT
Comments
A Simple problem deserves a simple solution:
Clear the display and wait a few clock cycles and then write to it!
May I be the first to ad DUH!
But hopefully this will help the next noob.