The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => The Orphanage => Topic started by: x86asm on May 05, 2005, 01:12:45 AM

Title: HD44780 LCD controller
Post by: x86asm on May 05, 2005, 01:12:45 AM
I am reading through the chips datasheet as I plan to utilize it with both PIC micros and a Z80 system I built, but I am confused as to how I can utilize the 4-bit transfer mode. I am reading it, but all the sections that deal with it make no mention of how to let the chip know that we want to use 4-bit transfer mode instead of 8-bit transfer mode. Please help :S
Should I just let the lower 4-bits float or what?
Title: Re: HD44780 LCD controller
Post by: MichaelW on May 05, 2005, 05:39:06 AM
I'm not sure how I came to have this in my links:

http://home.iae.nl/users/pouweha/lcd/lcd0.shtml

I think the link above will provide your answer, but if it doesn't there is an apparently active forum here:

http://forum.lcdinfo.com/
Title: Re: HD44780 LCD controller
Post by: tenkey on May 06, 2005, 04:05:58 AM
From looking at the following site: http://www.doc.ic.ac.uk/~ih/doc/lcd/

It looks like the controller powers up in 4-bit mode.  Then if you want to use a full 8-bit interface, you use the Function Set instruction to get it.
Title: Re: HD44780 LCD controller
Post by: x86asm on May 07, 2005, 08:13:57 PM
Thanks a bunch guys, I was hopelessly confused :)
Title: Re: HD44780 LCD controller
Post by: Mark Jones on May 14, 2005, 07:45:56 PM
Take a look at JAL, my favorite language for PIC micros:

Binary: http://sourceforge.net/projects/jal/
JALEdit IDE: http://jaledit.sunish.net/
YahooGroup: http://groups.yahoo.com/group/jallist/
Code Simulator: http://pic.flappie.nl/