hi
to get an idea of how to write your PIC version of LCD driver code, look at this post :
LCD 8-bit interface using "LCD Busy Flag"
if you just want to see if your LCD is working or not,you can do the following test:
connect pin 1 to GND
pin 2 to Vcc=5volt
now connect pin 3 to GND ,if all pixels of the first line
turns on , your LCD is working.
hi herlambang
as you may know , there is a self test routine in LCD modules that when pin 1 is connected to GND ,pin 2 to Vcc=5volt and pin 3 to GND . turns on all of the pixels of the first line . so it could be used to test the LCD modules.