[Lcdproc] I2C-LCD with 2 enable lines
Stefan Herdler
herdler@gmx.de
Sat Nov 11 19:17:03 2006
Carsten Tschense wrote:
> Hi,
> I've got a LCD without backlight and 4 rows and I'm using the i2c-driver
> on a nslu2.
> I connected EN2 to P7, which is usually used for the backlight, but I
> was not able to change the driver-code to use all 4 rows :-/
> Can anybody help me? =)
>
The file for your wiring is /server/drivers/hd44780-i2c.c.
The information you're searching must be in the function
lcdstat_HD44780_senddata() of /server/drivers/hd44780-4bit.c. It's the
enableLines stuff, I guess.
It`s only a little hint (it's all I can do without such a display) but i
hope it helps.
> By the way, the display gets totally messed up (strange characters) as
> soon as I lower the contrast with the potentiometer - the display only
> works when the contrast is at maximum - any ideas?
>
There's something wrong with the wiring, I guess.
Does the contrast-potentiometer only mess up the display or does it
control the contrast too?
> thanks,
> Carsten
>
> _______________________________________________
> LCDproc mailing list
> LCDproc@lists.omnipotent.net
> http://lists.omnipotent.net/mailman/listinfo/lcdproc
>
>
>
Stefan