/* * lcd_controlc.c * * Created: 24-2-2021 11:55:12 * Author: Sem */ #include #include #include #include "lcd_control.h" void _delay_ms(double __ms); void lcd_clear() { lcd_write_command (0x01); //Leeg display _delay_ms(2); lcd_write_command (0x80); //Cursor terug naar start } void lcd_strobe_lcd_e(void) { sbi_porta(LCD_E); // E high _delay_ms(1); cbi_porta(LCD_E); // E low _delay_ms(1); } void sbi_portc(int index){ PORTC |= (1<