Subversion Repositories group.electronics

Rev

Rev 42 | Rev 46 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 42 Rev 45
Line 13... Line 13...
13
#define LCD_CURSORON            0x02
13
#define LCD_CURSORON            0x02
14
#define LCD_CURSOROFF           0x00
14
#define LCD_CURSOROFF           0x00
15
#define LCD_BLINKON             0x01
15
#define LCD_BLINKON             0x01
16
#define LCD_BLINKOFF            0x00
16
#define LCD_BLINKOFF            0x00
17
 
17
 
-
 
18
#define LCD_BACKLIGHT		0x08
-
 
19
#define LCD_NOBACKLIGHT		0x00
18
 
20
 
19
#define LCD_4BITMODE            0x10
21
#define LCD_4BITMODE            0x10
20
#define LCD_2LINE               0x08
22
#define LCD_2LINE               0x08
21
#define LCD_5x8DOTS             0x00
23
#define LCD_5x8DOTS             0x00
22
 
24
 
Line 27... Line 29...
27
 
29
 
28
void lcd_init(void);
30
void lcd_init(void);
29
void lcd_command(uint8_t);
31
void lcd_command(uint8_t);
30
void lcd_char(uint8_t data);
32
void lcd_char(uint8_t data);
31
void lcd_send(uint8_t, uint8_t);
33
void lcd_send(uint8_t, uint8_t);
32
void lcd_sendNib(uint8_t);
-
 
33
void lcd_write(uint8_t);
34
void lcd_write(uint8_t);
34
void lcd_pulse(uint8_t);
35
void lcd_pulse(uint8_t);
35
 
36
 
-
 
37
void i2c_clear();
-
 
38
void i2c_home();
-
 
39
void i2c_display();
-
 
40
void i2c_noDisplay();
-
 
41
void i2c_backlight();
-
 
42
void i2c_noBacklight();
-
 
43
 
-
 
44
 
36
#endif
45
#endif