2 This is the LCDproc driver for the "LCTerm" serial LCD terminal
3 from Helmut Neumark Elektronik, www.neumark.de
5 Copyright (C) 2002 Michael Schwingen <michael@schwingen.org>
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
21 This driver is mostly based on the HD44780 and the LCDM001 driver.
22 (Hopefully I have NOT forgotten any file I have stolen code from.
23 If so send me an e-mail or add your copyright here!)
30 MODULE_EXPORT
int lcterm_init (Driver
*drvthis
);
31 MODULE_EXPORT
void lcterm_close (Driver
*drvthis
);
32 MODULE_EXPORT
int lcterm_width (Driver
*drvthis
);
33 MODULE_EXPORT
int lcterm_height (Driver
*drvthis
);
34 MODULE_EXPORT
void lcterm_clear (Driver
*drvthis
);
35 MODULE_EXPORT
void lcterm_flush (Driver
*drvthis
);
36 MODULE_EXPORT
void lcterm_string (Driver
*drvthis
, int x
, int y
, char *s
);
37 MODULE_EXPORT
void lcterm_chr (Driver
*drvthis
, int x
, int y
, char ch
);
39 MODULE_EXPORT
void lcterm_vbar (Driver
*drvthis
, int x
, int y
, int len
, int promille
, int options
);
40 MODULE_EXPORT
void lcterm_hbar (Driver
*drvthis
, int x
, int y
, int len
, int promille
, int options
);
41 MODULE_EXPORT
void lcterm_num (Driver
*drvthis
, int x
, int num
);
42 MODULE_EXPORT
int lcterm_icon (Driver
*drvthis
, int x
, int y
, int icon
);
43 MODULE_EXPORT
void lcterm_set_char (Driver
*drvthis
, int n
, char *dat
);
45 #define DEFAULT_DEVICE "/dev/lcd"