[add] comments
This commit is contained in:
@@ -12,18 +12,33 @@
|
||||
#define LCD_E 6
|
||||
#define LCD_RS 4
|
||||
|
||||
void _delay_ms(double __ms);
|
||||
void lcd_strobe_lcd_e(void);
|
||||
void sbi_portc(int index);
|
||||
void cbi_portc(int index);
|
||||
void sbi_porta(int index);
|
||||
void cbi_porta(int index);
|
||||
/************************************************************************/
|
||||
/* inits display in 4 bit mode */
|
||||
/************************************************************************/
|
||||
void init_4bits_mode(void);
|
||||
/************************************************************************/
|
||||
/* write string to the lcd */
|
||||
/************************************************************************/
|
||||
void lcd_write_string(const char *str);
|
||||
/************************************************************************/
|
||||
/* write character to the lcd */
|
||||
/************************************************************************/
|
||||
void lcd_write_character(unsigned char byte);
|
||||
/************************************************************************/
|
||||
/* write command to the lcd */
|
||||
/************************************************************************/
|
||||
void lcd_write_command(unsigned char byte);
|
||||
/************************************************************************/
|
||||
/* clear the lcd */
|
||||
/************************************************************************/
|
||||
void lcd_clear();
|
||||
/************************************************************************/
|
||||
/* write int to the lcd */
|
||||
/************************************************************************/
|
||||
void lcd_write_int(int number);
|
||||
/************************************************************************/
|
||||
/* write double to the lcd */
|
||||
/************************************************************************/
|
||||
void lcd_write_double(char prefix[], double number, char suffix[]);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user