diff options
author | reinelt <> | 2000-01-16 12:17:59 +0000 |
---|---|---|
committer | reinelt <> | 2000-01-16 12:17:59 +0000 |
commit | 991cae8c076d9da475bf833186219b3d2a396f29 (patch) | |
tree | e884a890843544c3039c1af4c58e43e45b642018 /lcd2041.h | |
download | lcd4linux-991cae8c076d9da475bf833186219b3d2a396f29.tar.gz |
[lcd4linux @ 2000-01-16 12:17:59 by reinelt]
Initial revision
Diffstat (limited to 'lcd2041.h')
-rw-r--r-- | lcd2041.h | 14 |
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); |