// LCD pins
#define LCD_D4_DDR DDRD
#define LCD_D4_PORT PORTD
#define LCD_D4_PIN PD4

#define LCD_D5_DDR DDRD
#define LCD_D5_PORT PORTD
#define LCD_D5_PIN PD5

#define LCD_D6_DDR DDRD
#define LCD_D6_PORT PORTD
#define LCD_D6_PIN PD6

#define LCD_D7_DDR DDRD
#define LCD_D7_PORT PORTD
#define LCD_D7_PIN PD7

#define LCD_RS_DDR DDRB
#define LCD_RS_PORT PORTB
#define LCD_RS_PIN PB6

#define LCD_RW_DDR DDRB
#define LCD_RW_PORT PORTB
#define LCD_RW_PIN PB5

#define LCD_EN_DDR DDRB
#define LCD_EN_PORT PORTB
#define LCD_EN_PIN PB4

#define NB_COLS 16
#define NB_ROWS 2