aboutsummaryrefslogtreecommitdiffstats
path: root/M50530.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-08-15 07:54:07 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-08-15 07:54:07 +0000
commit723ce62088b7c06deb4778263c1d6ad019455b8e (patch)
tree586c0353f85fe02b2c7a9beb9a78a3c1cc0e8e57 /M50530.c
parent947c98a0d72dd1ff2668b473dc8510bfaab040ce (diff)
downloadlcd4linux-723ce62088b7c06deb4778263c1d6ad019455b8e.tar.gz
[lcd4linux @ 2003-08-15 07:54:07 by reinelt]
HD44780 4 bit mode implemented git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@216 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'M50530.c')
-rw-r--r--M50530.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/M50530.c b/M50530.c
index e079463..402e597 100644
--- a/M50530.c
+++ b/M50530.c
@@ -1,4 +1,4 @@
-/* $Id: M50530.c,v 1.9 2003/07/24 04:48:09 reinelt Exp $
+/* $Id: M50530.c,v 1.10 2003/08/15 07:54:07 reinelt Exp $
*
* driver for display modules based on the M50530 chip
*
@@ -20,6 +20,9 @@
*
*
* $Log: M50530.c,v $
+ * Revision 1.10 2003/08/15 07:54:07 reinelt
+ * HD44780 4 bit mode implemented
+ *
* Revision 1.9 2003/07/24 04:48:09 reinelt
* 'soft clear' needed for virtual rows
*
@@ -202,10 +205,10 @@ int M5_init (LCD *Self)
Self->gpos=gpos;
Lcd=*Self;
- if ((SIGNAL_EX=parport_wire ("EX", "STROBE"))==0xff) return -1;
- if ((SIGNAL_IOC1=parport_wire ("IOC1", "SELECT"))==0xff) return -1;
- if ((SIGNAL_IOC2=parport_wire ("IOC2", "AUTOFD"))==0xff) return -1;
- if ((SIGNAL_GPO=parport_wire ("GPO", "INIT"))==0xff) return -1;
+ if ((SIGNAL_EX = parport_wire_ctrl ("EX", "STROBE"))==0xff) return -1;
+ if ((SIGNAL_IOC1 = parport_wire_ctrl ("IOC1", "SELECT"))==0xff) return -1;
+ if ((SIGNAL_IOC2 = parport_wire_ctrl ("IOC2", "AUTOFD"))==0xff) return -1;
+ if ((SIGNAL_GPO = parport_wire_ctrl ("GPO", "INIT") )==0xff) return -1;
if (parport_open() != 0) {
error ("M50530: could not initialize parallel port!");