aboutsummaryrefslogtreecommitdiffstats
path: root/README.Drivers
diff options
context:
space:
mode:
Diffstat (limited to 'README.Drivers')
-rw-r--r--README.Drivers58
1 files changed, 0 insertions, 58 deletions
diff --git a/README.Drivers b/README.Drivers
deleted file mode 100644
index 98628ec..0000000
--- a/README.Drivers
+++ /dev/null
@@ -1,58 +0,0 @@
-#
-# $Id: README.Drivers,v 1.4 2001/03/09 13:08:11 ltoetsch Exp $
-#
-
-How to write new display drivers for lcd4linux
-
-If you plan to write a new display driver for lcd4linux, you should follow
-this guidelines:
-
-* use Skeleton.c as a start point.
- You might also have a look at Text.c
-
-* create a new sourcefile <drivername>.c and add it to the bottom of
- Makefile.am
-
-* add an entry to configure.in
-
-* there's no need for a <drivername>.h
-
-* create one (or more) unique display names (your driver will be selected by
- this name in the 'Display'-line of lcd4linux.conf).
-
-* include "display.h" in your driver, to get the LCD structure and various
- BAR_ definitions
-
-* include "cfg.h" if you need to access settings in the config file.
-
-* create a LCD table at the bottom of your driver, and fill it with the
- appropriate values. Take care that you specify the correct bar capabilities
- of your display or driver:
-
- BAR_L: horizontal bars headed left
- BAR_R: horizontal bars headed right
- BAR_H2: driver supports horizontal dual-bars
- BAR_U: vertical bars bottom-up
- BAR_D: vertical bars top-down
- BAR_V2: driver supports vertical dual-bars
-
-* edit display.c and create a reference to your LCD table:
-
- external LCD YourDriver[];
-
-* extend the FAMILY table in display.c with your driver:
-
- FAMILY Driver[] = {
- { "Skeleton", Skeleton },
- { "MatrixOrbital", MatrixOrbital },
- { "YourFamily", YourDriver },
- { "" }
- };
-
-* write the correspondig init(), clear(), put(), bar(), quit() and
- flush()-functions. There's no need to use a framebuffer and display its
- contents with the flush()- call (as in MatrixOrbital.c), you can directly
- write to the display in the put()- and bar()-functions, and use an empty
- flush()-function. But if you have a limited number of user-defined
- characters, and therefore you have to do some sort of 'character reduction'
- or similar stuff, you will have to use a framebuffer and the flush()-call.
&id=add33a2a7f689611d2b76029a0d5597281f684bc&follow=1'>[lcd4linux @ 2005-04-05 04:46:06 by reinelt]reinelt1-1/+20 2005-04-04[lcd4linux @ 2005-04-04 20:11:14 by nicowallmeier]nicowallmeier1-2/+6 2005-04-03[lcd4linux @ 2005-04-03 07:07:43 by reinelt]reinelt8-9/+152 2005-04-02[lcd4linux @ 2005-04-02 05:28:58 by reinelt]reinelt3-19/+27 2005-04-01[lcd4linux @ 2005-04-01 05:16:04 by reinelt]reinelt5-584/+694 2005-03-30[lcd4linux @ 2005-03-30 04:57:50 by reinelt]reinelt3-23/+67 2005-03-28[lcd4linux @ 2005-03-28 22:29:23 by reinelt]reinelt1-250/+346 2005-03-28[lcd4linux @ 2005-03-28 19:39:14 by reinelt]reinelt9-256/+1147 2005-03-25[lcd4linux @ 2005-03-25 15:44:43 by reinelt]reinelt1-2/+5 2005-03-23[lcd4linux @ 2005-03-23 12:23:35 by reinelt]reinelt1-27/+32 2005-02-24[lcd4linux @ 2005-02-24 07:07:55 by reinelt]reinelt1-0/+53 2005-02-24[lcd4linux @ 2005-02-24 07:06:45 by reinelt]reinelt11-28/+347 2005-02-24[lcd4linux @ 2005-02-24 06:51:40 by reinelt]reinelt1-4/+5 2005-01-30[lcd4linux @ 2005-01-30 06:43:22 by reinelt]reinelt4-69/+95 2005-01-29[lcd4linux @ 2005-01-29 09:30:56 by reinelt]reinelt1-8/+11 2005-01-22[lcd4linux @ 2005-01-22 22:57:57 by reinelt]reinelt9-47/+382 2005-01-22[lcd4linux @ 2005-01-22 12:44:41 by reinelt]reinelt1-3/+6 2005-01-18[lcd4linux @ 2005-01-18 06:30:21 by reinelt]reinelt89-261/+603 2005-01-17[lcd4linux @ 2005-01-17 06:38:48 by reinelt]reinelt1-1/+6 2005-01-17[lcd4linux @ 2005-01-17 06:29:24 by reinelt]reinelt3-33/+85