Pages: [1]   Go Down
Author Topic: 4 data lines vs. 8 data lines on HD44780  (Read 661 times)
0 Members and 1 Guest are viewing this topic.
Lower Sackville, Nova Scotia
Offline Offline
Newbie
*
Karma: 0
Posts: 23
Stuff.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Does it make a difference? And if it does, what is the difference. I have a Mega 2560 so I have no shortage of digital pins.
Logged

Stuff, other junk. Uh, some sort of awesome text here instead of this.

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 32
Posts: 4258
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you are writing the program yourself and if you do not have much experience with the LCD controller then writing code for the 8-bit data interface is more straightforward.  If you are programming in assembly language or using a higher-level language the actual code will run marginally quicker if you write it for the 8-bit interface than for the 4-bit interface.  The LCD controller is so slow that unless you are using the busy flag rather than time delays this speed increase is unimportant since the required delays are so long.  If you are writing code for the Arduino I have read that the extra pin mapping for the 8-bit interface causes programs written for this interface to actually take longer than those for the 4-bit interface.  I can't vouch for this information.  If you are using a library written by somebody else, and if the library is properly written, then there is almost no reason to use the 8-bit interface.

Don
Logged

Lower Sackville, Nova Scotia
Offline Offline
Newbie
*
Karma: 0
Posts: 23
Stuff.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ok good because I didn't have anymore wires to solder on anyways. Thanks for the clarification!
Logged

Stuff, other junk. Uh, some sort of awesome text here instead of this.

Pages: [1]   Go Up
Jump to: