diff options
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); |