graphlcd-base/docs/DRIVER.gu140x32f
changeset 4 df6a40031aa5
equal deleted inserted replaced
3:d0e62fc47285 4:df6a40031aa5
       
     1 ---------------------------------------------------------------------
       
     2 GraphLCD driver library
       
     3 
       
     4 The GU140X32F driver
       
     5 ---------------------------------------------------------------------
       
     6 
       
     7 Description
       
     8 -----------
       
     9 The GU140X32F driver supports Noritake GU140x32-F7806 VFD displays.
       
    10 The VFD is operating in its 8 bit-mode connected to a PC's parallel
       
    11 port.
       
    12 
       
    13 
       
    14 Wirings
       
    15 -------
       
    16 The GU140x32F driver supports the following connections on a parallel
       
    17 port:
       
    18  - Standard
       
    19  - Windows
       
    20 
       
    21 Standard wiring:
       
    22 
       
    23   printerport   LCD          other
       
    24   -----------   ----------   ----------
       
    25                 GND   (01)   GND          (Ground)
       
    26                 VCC   (02)   VCC          (+5VDC 500mA)
       
    27                 NC    (03)
       
    28   nSTRB  (01)   RS    (04)                (Register Select)
       
    29   nAUTO  (14)   RW    (05)                (Read/Write)
       
    30   INIT   (16)   EN    (06)                (Chip Enable)
       
    31   D0     (02)   D0    (07)                (Data Bit 0)
       
    32   D1     (03)   D1    (08)                (Data Bit 1)
       
    33   D2     (04)   D2    (09)                (Data Bit 2)
       
    34   D3     (05)   D3    (10)                (Data Bit 3)
       
    35   D4     (06)   D4    (11)                (Data Bit 4)
       
    36   D5     (07)   D5    (12)                (Data Bit 5)
       
    37   D6     (08)   D6    (13)                (Data Bit 6)
       
    38   D7     (09)   D7    (14)                (Data Bit 7)
       
    39 
       
    40 Windows wiring:
       
    41 
       
    42   printerport   LCD          other
       
    43   -----------   ----------   ----------
       
    44                 GND   (01)   GND          (Ground)
       
    45                 VCC   (02)   VCC          (+5VDC 500mA)
       
    46                 NC    (03)
       
    47   INIT   (16)   RS    (04)                (Register Select)
       
    48   nAUTO  (14)   RW    (05)                (Read/Write)
       
    49   nSTRB  (01)   EN    (06)                (Chip Enable)
       
    50   D0     (02)   D0    (07)                (Data Bit 0)
       
    51   D1     (03)   D1    (08)                (Data Bit 1)
       
    52   D2     (04)   D2    (09)                (Data Bit 2)
       
    53   D3     (05)   D3    (10)                (Data Bit 3)
       
    54   D4     (06)   D4    (11)                (Data Bit 4)
       
    55   D5     (07)   D5    (12)                (Data Bit 5)
       
    56   D6     (08)   D6    (13)                (Data Bit 6)
       
    57   D7     (09)   D7    (14)                (Data Bit 7)
       
    58 
       
    59 Note: The pin numbering may vary with other displays.
       
    60 
       
    61 
       
    62 Configuration Parameters
       
    63 ------------------------
       
    64 The GU140x32F driver supports the following parameters in config file:
       
    65 
       
    66 Device
       
    67  Instead of using the direct output via port address (see Port), you
       
    68  can use the parport device (/dev/parportX). The advantage over the
       
    69  direct output via port address is that this works for non-root users
       
    70  also. But it's a little bit slower. The modules ppdev.o, parport.o
       
    71  and parport_pc.o must be loaded or compiled into the kernel.
       
    72 
       
    73 Port
       
    74  Sets the port address of the parallel port. If this parameter is not
       
    75  given, 0x378 is used. To use this direct output, the program that
       
    76  uses the driver library has to be started with user 'root'.
       
    77 
       
    78 Width
       
    79  Sets the horizontal size of the display. If this parameter is not
       
    80  given, a default value of 140 pixels is used.
       
    81 
       
    82 Height
       
    83  Sets the vertical size of the display. If this parameter is not
       
    84  given, a default value of 32 pixels is used.
       
    85 
       
    86 UpsideDown
       
    87  Rotates the display output by 180 degrees. This might be useful, if
       
    88  the LCD is mounted upside-down.
       
    89  Possible values: 'yes', 'no'
       
    90  Default value: 'no'
       
    91 
       
    92 Invert
       
    93  Inverts the display.
       
    94  Possible values: 'yes', 'no'
       
    95  Default value: 'no'
       
    96 
       
    97 Brightness
       
    98  Sets the brightness of your display's backlight.
       
    99  Possible values: 0 <= x <= 100)
       
   100  Default value: 100
       
   101 
       
   102 AdjustTiming
       
   103  To get a timing that is as accurate as possible, the drivers measure
       
   104  the time for port commands (see: benchmark in syslog). You might
       
   105  decrease or increase the time to wait after port commands with this
       
   106  parameter. Normally, there is no need to change this parameter.
       
   107  Possible values: -50 <= x <= 50
       
   108  Default value: 0
       
   109 
       
   110 RefreshDisplay
       
   111  Normally, most of the drivers do not update the whole display, but
       
   112  only the areas that have changed since last update. So it might be,
       
   113  that some faulty pixels would stay a longer time. To avoid this, the
       
   114  plugin makes a complete refresh from time to time. This parameter
       
   115  defines how often a complete refresh will be done.
       
   116  e.g.: A value of 5 means, that the plugin will make a complete
       
   117        refresh on every 5th update.
       
   118  A value of 0 completely disables complete refreshs. 
       
   119  Possible values: 0 <= x <= 50
       
   120  Default value: 5
       
   121 
       
   122 Wiring
       
   123  Select the type of wiring your display is connected with.
       
   124  Possible values: 'Standard', 'Windows'
       
   125  Default value: 'Standard'
       
   126