summaryrefslogtreecommitdiff
path: root/lcd.h
blob: 0803e677b2a03b77c041446425eb9359e0b0c46c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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_initialize(void);