aboutsummaryrefslogtreecommitdiffstats
path: root/lcd2041.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-01-16 12:17:59 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-01-16 12:17:59 +0000
commitdfc5239aecb7e421afd26a4599bc4600d21e12c4 (patch)
treee884a890843544c3039c1af4c58e43e45b642018 /lcd2041.h
parentfba83a8ef0ad2b95cbe55035441c9ad9435ae6c9 (diff)
downloadlcd4linux-dfc5239aecb7e421afd26a4599bc4600d21e12c4.tar.gz
[lcd4linux @ 2000-01-16 12:17:59 by reinelt]
Initial revision git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@2 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r--lcd2041.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lcd2041.h b/lcd2041.h
new file mode 100644
index 0000000..4951d4e
--- /dev/null
+++ b/lcd2041.h
@@ -0,0 +1,14 @@
+#define ROWS 4
+#define COLS 20
+#define XRES 5
+#define YRES 8
+#define CHAR 8
+
+int lcd_init (char *device);
+void lcd_contrast (int contrast);
+void lcd_clear (void);
+void lcd_put (int x, int y, char *string);
+void lcd_hbar (int x, int y, int dir, int max, int len);
+void lcd_vbar (int x, int y, int dir, int max, int len);
+void lcd_dbar (int x, int y, int dir, int max, int len1, int len2);
+void lcd_dbar_flush (void);