#ifndef _LCD_H_ #define _LCD_H_ #define LCD_BUTTON0 0x00 #define LCD_BUTTON1 0x01 #define LCD_BUTTON2 0x02 struct lcddev; /* private data */ int lcd_init(const char *device, int backlight_timeout, int (*button_callback)(struct lcddev *dev, int button)); int lcd_setline(struct lcddev *dev, int line, const char *text); #endif /* _LCD_H_ */