Code

LCD 1x16

LCD 2x16

LCD 4x20

=Demo

The images below shows 16x2, 16x1 and 20x4 LCD's interfaced with starter AVR.
Pic16f877a 1x16 LCD.JPG