Subversion Repositories group.electronics

Rev

Rev 54 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 54 Rev 58
Line 34... Line 34...
34
#define LCD_MODE_RS     0x01                    // Write line
34
#define LCD_MODE_RS     0x01                    // Write line
35
#define LCD_MODE_RW     0x02                    // Read line
35
#define LCD_MODE_RW     0x02                    // Read line
36
#define LCD_MODE_EN     0x04                    // Enable line
36
#define LCD_MODE_EN     0x04                    // Enable line
37
 
37
 
38
struct {
38
struct {
39
        uint8_t display;
39
	uint8_t display;
40
        uint8_t function;
40
	uint8_t function;
41
        uint8_t backlight;
41
	uint8_t backlight;
42
} lcd;
42
} lcd;
43
 
43
 
44
void lcd_init(void);
44
void lcd_init(void);
45
 
45
 
46
void lcd_percent_graph(uint8_t, uint8_t, uint8_t);
46
void lcd_percent_graph(uint8_t, uint8_t, uint8_t);