graphlcd-base/docs/DRIVER.serdisp
changeset 4 df6a40031aa5
equal deleted inserted replaced
3:d0e62fc47285 4:df6a40031aa5
       
     1 ---------------------------------------------------------------------
       
     2 GraphLCD driver library
       
     3 
       
     4 The serdisp driver
       
     5 ---------------------------------------------------------------------
       
     6 
       
     7 Description
       
     8 -----------
       
     9 The serdisp driver supports LC displays that are supported by
       
    10 serdisplib (http://serdisplib.sourceforge.net).
       
    11 
       
    12 
       
    13 Configuration Parameters
       
    14 ------------------------
       
    15 The serdisp driver supports the following parameters in config file:
       
    16 
       
    17 Controller
       
    18  Select the controller your LCD uses named like in serdisplib.
       
    19  Possible values: See README in serdisplib package
       
    20 
       
    21 Device
       
    22  Instead of using the direct output via port address (see Port), you
       
    23  can use the parport device (/dev/parportX). The advantage over the
       
    24  direct output via port address is that this works for non-root users
       
    25  also. But it's a little bit slower. The modules ppdev.o, parport.o
       
    26  and parport_pc.o must be loaded or compiled into the kernel.
       
    27 
       
    28 Port
       
    29  Sets the port address of the parallel port. If this parameter is not
       
    30  given, 0x378 is used. To use this direct output, the program that
       
    31  uses the driver library has to be started with user 'root'.
       
    32 
       
    33 Width
       
    34  Sets the horizontal size of the display. If this parameter is not
       
    35  given, a default value according to the selected controller is used.
       
    36 
       
    37 Height
       
    38  Sets the vertical size of the display. If this parameter is not
       
    39  given, a default value according to the selected controller is used.
       
    40 
       
    41 UpsideDown
       
    42  Rotates the display output by 180 degrees. This might be useful, if
       
    43  the LCD is mounted upside-down.
       
    44  Possible values: 'yes', 'no'
       
    45  Default value: 'no'
       
    46 
       
    47 Invert
       
    48  Inverts the display.
       
    49  Possible values: 'yes', 'no'
       
    50  Default value: 'no'
       
    51 
       
    52 Contrast
       
    53  Sets the contrast of your display.
       
    54  Possible values: 0 <= x <= 10
       
    55  Default value: 5
       
    56 
       
    57 Backlight
       
    58  Switches the backlight of your display on and off.
       
    59  Possible values: 'yes', 'no'
       
    60  Default value: 'yes'
       
    61