Subversion Repositories group.electronics

Rev

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

Rev 45 Rev 46
Line 5... Line 5...
5
#define LCD_CLEARDISPLAY        0x01
5
#define LCD_CLEARDISPLAY        0x01
6
#define LCD_RETURNHOME          0x02
6
#define LCD_RETURNHOME          0x02
7
 
7
 
8
#define LCD_DISPLAYCONTROL      0x08
8
#define LCD_DISPLAYCONTROL      0x08
9
#define LCD_FUNCTIONSET         0x20
9
#define LCD_FUNCTIONSET         0x20
-
 
10
#define LCD_SETDDRAMADDR	0x80
10
 
11
 
11
#define LCD_DISPLAYON           0x04
12
#define LCD_DISPLAYON           0x04
12
#define LCD_DISPLAYOFF          0x00
13
#define LCD_DISPLAYOFF          0x00
13
#define LCD_CURSORON            0x02
14
#define LCD_CURSORON            0x02
14
#define LCD_CURSOROFF           0x00
15
#define LCD_CURSOROFF           0x00
Line 32... Line 33...
32
void lcd_char(uint8_t data);
33
void lcd_char(uint8_t data);
33
void lcd_send(uint8_t, uint8_t);
34
void lcd_send(uint8_t, uint8_t);
34
void lcd_write(uint8_t);
35
void lcd_write(uint8_t);
35
void lcd_pulse(uint8_t);
36
void lcd_pulse(uint8_t);
36
 
37
 
37
void i2c_clear();
38
inline void lcd_clear();
38
void i2c_home();
39
inline void lcd_home();
39
void i2c_display();
40
inline void lcd_backlight();
40
void i2c_noDisplay();
41
inline void lcd_noBacklight();
41
void i2c_backlight();
42
void lcd_display();
42
void i2c_noBacklight();
43
void lcd_noDisplay();
-
 
44
void lcd_setCursor(uint8_t, uint8_t);
43
 
45
 
44
 
46
 
45
#endif
47
#endif