1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/graphlcd-base/docs/DRIVER.sed1520 Wed Feb 06 17:32:55 2008 +0000
1.3 @@ -0,0 +1,98 @@
1.4 +---------------------------------------------------------------------
1.5 +GraphLCD driver library
1.6 +
1.7 +The SED1520 driver
1.8 +---------------------------------------------------------------------
1.9 +
1.10 +Description
1.11 +-----------
1.12 +The SED1520 driver supports LC displays that use the Epson SED1520
1.13 +controller, connected to the parallel port of your PC.
1.14 +
1.15 +
1.16 +Wirings
1.17 +-------
1.18 +The SED1520 driver supports the following connection on a parallel
1.19 +port:
1.20 +
1.21 + printerport LCD other
1.22 + ----------- ---------- ----------
1.23 + GND (18) GND (01) GND (Ground)
1.24 + Vdd (02) +5V
1.25 + Vo (03) (LCD Contrast In -4V)
1.26 + nSEL (17) R/S (04) (Register Select)
1.27 + R/W (05) GND (Read/Write)
1.28 + nSTRB (01) EN1 (06) (Enable Left)
1.29 + D0 (02) D0 (07) (DataBit0)
1.30 + D1 (03) D1 (08) (DataBit1)
1.31 + D2 (04) D2 (09) (DataBit2)
1.32 + D3 (05) D3 (10) (DataBit3)
1.33 + D4 (06) D4 (11) (DataBit4)
1.34 + D5 (07) D5 (12) (DataBit5)
1.35 + D6 (08) D6 (13) (DataBit6)
1.36 + D7 (09) D7 (14) (DataBit7)
1.37 + INIT (16) EN2 (15) (Enable Right)
1.38 + RESET (16) +5V (Controller Reset)
1.39 + LED+ (17) +4V/150mA (Backlight with 6,4Ohm Resistor to +5V)
1.40 + nAUTO (14) LED- (18) GND (Backlight GND [via BS170])
1.41 +
1.42 + See also http://www.usblcd.de/lcdproc/sed1520-dip.php4 ...
1.43 +
1.44 +Note: The pin numbering may vary with other displays.
1.45 +
1.46 +
1.47 +Configuration Parameters
1.48 +------------------------
1.49 +The SED1520 driver supports the following parameters in config file:
1.50 +
1.51 +Device
1.52 + Instead of using the direct output via port address (see Port), you
1.53 + can use the parport device (/dev/parportX). The advantage over the
1.54 + direct output via port address is that this works for non-root users
1.55 + also. But it's a little bit slower. The modules ppdev.o, parport.o
1.56 + and parport_pc.o must be loaded or compiled into the kernel.
1.57 +
1.58 +Port
1.59 + Sets the port address of the parallel port. If this parameter is not
1.60 + given, 0x378 is used. To use this direct output, the program that
1.61 + uses the driver library has to be started with user 'root'.
1.62 +
1.63 +Width
1.64 + Sets the horizontal size of the display. If this parameter is not
1.65 + given, a default value of 120 pixels is used.
1.66 +
1.67 +Height
1.68 + Sets the vertical size of the display. If this parameter is not
1.69 + given, a default value of 32 pixels is used.
1.70 +
1.71 +UpsideDown
1.72 + Rotates the display output by 180 degrees. This might be useful, if
1.73 + the LCD is mounted upside-down.
1.74 + Possible values: 'yes', 'no'
1.75 + Default value: 'no'
1.76 +
1.77 +Invert
1.78 + Inverts the display.
1.79 + Possible values: 'yes', 'no'
1.80 + Default value: 'no'
1.81 +
1.82 +AdjustTiming
1.83 + To get a timing that is as accurate as possible, the drivers measure
1.84 + the time for port commands (see: benchmark in syslog). You might
1.85 + decrease or increase the time to wait after port commands with this
1.86 + parameter. Normally, there is no need to change this parameter.
1.87 + Possible values: -50 <= x <= 50
1.88 + Default value: 0
1.89 +
1.90 +RefreshDisplay
1.91 + Normally, most of the drivers do not update the whole display, but
1.92 + only the areas that have changed since last update. So it might be,
1.93 + that some faulty pixels would stay a longer time. To avoid this, the
1.94 + plugin makes a complete refresh from time to time. This parameter
1.95 + defines how often a complete refresh will be done.
1.96 + e.g.: A value of 5 means, that the plugin will make a complete
1.97 + refresh on every 5th update.
1.98 + A value of 0 completely disables complete refreshs.
1.99 + Possible values: 0 <= x <= 50
1.100 + Default value: 5
1.101 +