PDA

View Full Version : Reporting an error in a LCD driver in Object Exchange.



BTX
04-29-2008, 10:32 PM
Hi all !!
I was trying with some 4 lines LCD driver from OE, and I found this, maybe it could be usefull for begginers, to avoid headaches..... http://forums.parallax.com/images/smilies/smile.gif

The link to the OE is: obex.parallax.com/objects/104/ (http://obex.parallax.com/objects/104/)
Name: LCD parallel demo using the Hitachi HD44780 LCD
Version: 1.2

In the code say:

These are the connections I used

PIN 5───────── PIN 4 Enable
PIN 4 ──────── PIN 6 Register Select
PIN 3───────── PIN 11 D4
PIN 2───────── PIN 12 D5
PIN 1───────── PIN 13 D6
PIN 0───────── PIN 14 D7

Be aware !!!

Usually the Enable pin for LCD is pin 6, and Register Select is pin 4.

Also:

PIN0 must be D4
PIN1 must be D5
PIN2 must be D6
PIN3 must be D7

Following this, you'l get the driver working nice !!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.

Alberto.

Envio editado por (BTX) : 5/10/2008 11:57:16 AM GMT