1 /*-----------------------------------------------------------------------*/
\r
2 /* EZ-LCD - Generic control module include/configuration file */
\r
3 /*-----------------------------------------------------------------------*/
\r
8 /*--------------------------------------------------*/
\r
9 /* Configuration Options */
\r
10 /*--------------------------------------------------*/
\r
12 #define _LCD_ROWS 2 /* Number of Rows (1,2 or 4) */
\r
13 #define _LCD_COLS 8 /* Number of Columns (8..40) */
\r
15 #define _USE_CURSOR 0 /* 1:Enable lcd_cursor function */
\r
16 #define _USE_CGRAM 0 /* 1:Enable lcd_setcg function */
\r
18 #define _USE_FUEL 0 /* 1:Enable lcd_put_fuel function (_USE_CGRAM must be 1) */
\r
20 #define _USE_BAR 0 /* 1:Enable lcd_put_bar function (_USE_CGRAM must be 1) */
\r
21 #define _MAX_BAR 255 /* Maximum value for lcd_put_bar function */
\r
23 #define _USE_POINT 0 /* 1:Enable lcd_put_point function (_USE_CGRAM must be 1) */
\r
24 #define _MAX_POINT 255 /* Maximum value for lcd_put_point function */
\r
26 #define _BASE_GRAPH 0 /* Common user character used by lcd_put_bar/lcd_put_point function (2 chars from this) */
\r
30 /*--------------------------------------------------*/
\r
31 /* API declareations */
\r
32 /*--------------------------------------------------*/
\r
39 void lcd_init (void);
\r
40 void lcd_locate (uint8_t, uint8_t);
\r
41 void lcd_putc (uint8_t);
\r
42 void lcd_cursor (uint8_t);
\r
43 void lcd_setcg (uint8_t, uint8_t, const uint8_t*);
\r
44 void lcd_put_fuel (int8_t, uint8_t);
\r
45 void lcd_put_bar (uint16_t, uint8_t, uint8_t);
\r
46 void lcd_put_point (uint16_t, uint8_t, uint8_t);
\r
56 #endif /* #ifndef _EZLCD */
\r