diff options
author | andreas 'randy' weinberger <vdr@smue.org> | 2010-02-21 19:58:27 +0100 |
---|---|---|
committer | andreas 'randy' weinberger <vdr@smue.org> | 2010-02-21 19:58:27 +0100 |
commit | 10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3 (patch) | |
tree | 60ad7c856565f03e145b2996d1bb5f9cd64c0532 /docs/DRIVER.hd61830 | |
download | graphlcd-base-10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3.tar.gz graphlcd-base-10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3.tar.bz2 |
initial git upload, based on graphlcd-base-0.1.5
Diffstat (limited to 'docs/DRIVER.hd61830')
-rw-r--r-- | docs/DRIVER.hd61830 | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/docs/DRIVER.hd61830 b/docs/DRIVER.hd61830 new file mode 100644 index 0000000..8e23420 --- /dev/null +++ b/docs/DRIVER.hd61830 @@ -0,0 +1,96 @@ +--------------------------------------------------------------------- +GraphLCD driver library + +The HD61830 driver +--------------------------------------------------------------------- + +Description +----------- +The HD61830 driver supports LC displays that use the Hitachi HD61830 +controller, connected to the parallel port of your PC. + + +Wirings +------- +The HD61830 driver supports the following connection on a parallel +port: + + printerport LCD other + ----------- ---------- ---------- + GND (18) GND (01) GND (Ground) + VDD (02) +5V (V Controller) + V0 (03) +5V..-15V (Contrast) + INIT (16) RS (04) (Register Select) + nAUTO (14) R/W (05) (Read 1/Write 0) + nSTRB (01) EN (06) (Enable) + D0 (02) D0 (07) (DataBit0) + D1 (03) D1 (08) (DataBit1) + D2 (04) D2 (09) (DataBit2) + D3 (05) D3 (10) (DataBit3) + D4 (06) D4 (11) (DataBit4) + D5 (07) D5 (12) (DataBit5) + D6 (08) D6 (13) (DataBit6) + D7 (09) D7 (14) (DataBit7) + nCS (15) GND (Chip Select) + nRES (16) +5V (Reset) + VEE (17) -12V (V LCD) + nDO (18) (not connected) + +Note: The pin numbering may vary with other displays. + + +Configuration Parameters +------------------------ +The HD61830 driver supports the following parameters in config file: + +Device + Instead of using the direct output via port address (see Port), you + can use the parport device (/dev/parportX). The advantage over the + direct output via port address is that this works for non-root users + also. But it's a little bit slower. The modules ppdev.o, parport.o + and parport_pc.o must be loaded or compiled into the kernel. + +Port + Sets the port address of the parallel port. If this parameter is not + given, 0x378 is used. To use this direct output, the program that + uses the driver library has to be started with user 'root'. + +Width + Sets the horizontal size of the display. If this parameter is not + given, a default value of 240 pixels is used. + +Height + Sets the vertical size of the display. If this parameter is not + given, a default value of 128 pixels is used. + +UpsideDown + Rotates the display output by 180 degrees. This might be useful, if + the LCD is mounted upside-down. + Possible values: 'yes', 'no' + Default value: 'no' + +Invert + Inverts the display. + Possible values: 'yes', 'no' + Default value: 'no' + +AdjustTiming + To get a timing that is as accurate as possible, the drivers measure + the time for port commands (see: benchmark in syslog). You might + decrease or increase the time to wait after port commands with this + parameter. Normally, there is no need to change this parameter. + Possible values: -50 <= x <= 50 + Default value: 0 + +RefreshDisplay + Normally, most of the drivers do not update the whole display, but + only the areas that have changed since last update. So it might be, + that some faulty pixels would stay a longer time. To avoid this, the + plugin makes a complete refresh from time to time. This parameter + defines how often a complete refresh will be done. + e.g.: A value of 5 means, that the plugin will make a complete + refresh on every 5th update. + A value of 0 completely disables complete refreshs. + Possible values: 0 <= x <= 50 + Default value: 5 + |