#ifndef __LCD_H_ #define __LCD_H_ #include #include // This driver provides access to an LCD display with HD44780 controller. // Only the 4bit communication mode is implemented. //Example for the Required settings in hardware.h: // The HD44780 Display is connected to Port D // PD2 = RS // GND = R/W // PD3 = E // PD4..PD7 = DB4..DB7 #define LCD_PORT_INIT { DDRD |= 0b11111100; } #define LCD_RS_HIGH { PORTD |= (1<