summaryrefslogtreecommitdiff
path: root/lcd.h
blob: a76d732dcb2b3cd0fc09adf72b8edf976d6f0b2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define Press_Change_Message "Push CHANGE to continue."

#include <glib.h>

#define LCD_cols    	40
#define LCD_rows    	4		/* 4x40 LCD */
#define LCD_chars_total 160

/* LCD menu hardware definitions - FIXME */

#define LCD_col_width 13                        /* characters per LCD column */
#define LCD_max_entries_per_page 12             /* how many items fit on one LCD screen at a time */
#define LCD_max_entries 24                      /* upper limit for menu arrays */

void LCD_display_extended_message(char *response, gboolean show_change_message, gboolean is_error_screen);
void LCD_clear();
void LCD_write(int row, int col, char *LCD_string);
void LCD_write_padded_spaces(int row, int col, char *LCD_string, int width);
void LCD_initialize(void);