It is connected to an ATMega8 in 4 bit mode. I have tried everything to make it work, but i always get white boxes on first row. The board works OK with other two LCD's models. I have attached to this topic the init procedure sented to me by the german company of this LCD model. At first view everything looks OK, the default init from an HD44870 controller, but maybe i miss something.
Any opinion is good.
P.S.: I'we also tried Luciano's library with busy flag check, but NOTHING.
Joined: 16 Jan 2006 Posts: 2483 Location: Queensland
Posted: Thu Nov 04, 2010 4:37 am Post subject:
I never used EA character display modules. Possibly you might get a better response in the general Bascom-AVR forum, which is much more active. _________________ Adrian Jansen
Computer language is a framework for creativity
I viewed the text file you added and I am wondering, did you connect D0~D3 from the LCD to the controller or D4~D7. Because normaly in 4 bit mode D4~D7 from the LCD should be connected and not D0~D3. These will have no function in 4 Bit mode and that's why the LCD won't init.
If you connected PX0~PX3 from the controller to D4~D7 the there should be no problem, except that you have to send MSB(Bit4~Bit7) first and then LSB(Bit0~Bit3).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum