[add] comments

This commit is contained in:
stijn
2021-04-06 15:05:44 +02:00
parent 41c080d5b7
commit d136064b94
16 changed files with 1784 additions and 2135 deletions

View File

@@ -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[]);