I have attached Full and working source code and proteus simulation for 16x2 LCD. You just need to burn the code to your control and run.....Hurrah! it shows your name and cell phone after simple changes.
File list:
PIC16F877 LCD Code
.................\Code
.................\....\funclist
.................\....\Includes.h
.................\....\LCD.as
.................\....\LCD.c
.................\....\LCD.cof
.................\....\LCD.h
.................\....\LCD.hex
.................\....\LCD.hxl
.................\....\LCD.lst
.................\....\LCD.map
.................\....\LCD.mcp
.................\....\LCD.mcs
.................\....\LCD.mcw
.................\....\LCD.obj
.................\....\LCD.p1
.................\....\LCD.pre
.................\....\LCD.rlf
.................\....\LCD.sdb
.................\....\LCD.sym
.................\....\Main.c
.................\....\Main.p1
.................\....\Main.pre
.................\....\startup.as
.................\....\startup.lst
.................\....\startup.obj
.................\....\startup.rlf
.................\Simulation
.................\..........\Last Loaded sim.DBK
.................\..........\sim.DSN
.................\..........\sim.PWI