graphlcd-base/docs/DRIVER.sed1520
changeset 4 df6a40031aa5
equal deleted inserted replaced
3:d0e62fc47285 4:df6a40031aa5
       
     1 ---------------------------------------------------------------------
       
     2 GraphLCD driver library
       
     3 
       
     4 The SED1520 driver
       
     5 ---------------------------------------------------------------------
       
     6 
       
     7 Description
       
     8 -----------
       
     9 The SED1520 driver supports LC displays that use the Epson SED1520
       
    10 controller, connected to the parallel port of your PC.
       
    11 
       
    12 
       
    13 Wirings
       
    14 -------
       
    15 The SED1520 driver supports the following connection on a parallel
       
    16 port:
       
    17 
       
    18   printerport   LCD          other
       
    19   -----------   ----------   ----------
       
    20   GND    (18)   GND   (01)   GND          (Ground)
       
    21                 Vdd   (02)   +5V
       
    22                 Vo    (03)                (LCD Contrast In -4V)
       
    23   nSEL   (17)   R/S   (04)                (Register Select)
       
    24                 R/W   (05)   GND          (Read/Write)
       
    25   nSTRB  (01)   EN1   (06)                (Enable Left)
       
    26   D0     (02)   D0    (07)                (DataBit0)
       
    27   D1     (03)   D1    (08)                (DataBit1)
       
    28   D2     (04)   D2    (09)                (DataBit2)
       
    29   D3     (05)   D3    (10)                (DataBit3)
       
    30   D4     (06)   D4    (11)                (DataBit4)
       
    31   D5     (07)   D5    (12)                (DataBit5)
       
    32   D6     (08)   D6    (13)                (DataBit6)
       
    33   D7     (09)   D7    (14)                (DataBit7)
       
    34   INIT   (16)   EN2   (15)                (Enable Right)
       
    35                 RESET (16)   +5V          (Controller Reset)
       
    36                 LED+  (17)   +4V/150mA    (Backlight with 6,4Ohm Resistor to +5V)
       
    37   nAUTO  (14)   LED-  (18)   GND          (Backlight GND [via BS170])
       
    38 
       
    39   See also http://www.usblcd.de/lcdproc/sed1520-dip.php4 ...
       
    40 
       
    41 Note: The pin numbering may vary with other displays.
       
    42 
       
    43 
       
    44 Configuration Parameters
       
    45 ------------------------
       
    46 The SED1520 driver supports the following parameters in config file:
       
    47 
       
    48 Device
       
    49  Instead of using the direct output via port address (see Port), you
       
    50  can use the parport device (/dev/parportX). The advantage over the
       
    51  direct output via port address is that this works for non-root users
       
    52  also. But it's a little bit slower. The modules ppdev.o, parport.o
       
    53  and parport_pc.o must be loaded or compiled into the kernel.
       
    54 
       
    55 Port
       
    56  Sets the port address of the parallel port. If this parameter is not
       
    57  given, 0x378 is used. To use this direct output, the program that
       
    58  uses the driver library has to be started with user 'root'.
       
    59 
       
    60 Width
       
    61  Sets the horizontal size of the display. If this parameter is not
       
    62  given, a default value of 120 pixels is used.
       
    63 
       
    64 Height
       
    65  Sets the vertical size of the display. If this parameter is not
       
    66  given, a default value of 32 pixels is used.
       
    67 
       
    68 UpsideDown
       
    69  Rotates the display output by 180 degrees. This might be useful, if
       
    70  the LCD is mounted upside-down.
       
    71  Possible values: 'yes', 'no'
       
    72  Default value: 'no'
       
    73 
       
    74 Invert
       
    75  Inverts the display.
       
    76  Possible values: 'yes', 'no'
       
    77  Default value: 'no'
       
    78 
       
    79 AdjustTiming
       
    80  To get a timing that is as accurate as possible, the drivers measure
       
    81  the time for port commands (see: benchmark in syslog). You might
       
    82  decrease or increase the time to wait after port commands with this
       
    83  parameter. Normally, there is no need to change this parameter.
       
    84  Possible values: -50 <= x <= 50
       
    85  Default value: 0
       
    86 
       
    87 RefreshDisplay
       
    88  Normally, most of the drivers do not update the whole display, but
       
    89  only the areas that have changed since last update. So it might be,
       
    90  that some faulty pixels would stay a longer time. To avoid this, the
       
    91  plugin makes a complete refresh from time to time. This parameter
       
    92  defines how often a complete refresh will be done.
       
    93  e.g.: A value of 5 means, that the plugin will make a complete
       
    94        refresh on every 5th update.
       
    95  A value of 0 completely disables complete refreshs. 
       
    96  Possible values: 0 <= x <= 50
       
    97  Default value: 5
       
    98