LCD comes in various configurations and the most popular one is 16x2 matrix display. This article shows the interfacing of ATmega16 with LCD by displaying a simple character on the LCD. In this project LCD is working in 8-bit mode i. e. , the data transferred to the LCD must be in 8-bit data form. The PortA of ATmega16 is connected to data pins of LCD and is defined as
LCD_DATA. PortB is defined as control pins (Rs, R/W and En).