here is ccs code :

#include <18f4550.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=4000000)
#include

void main() {
lcd_init();
lcd_putc("Hello!");
}

LCD pins D0-D3 are not used and PIC D3 is not used.

D0 enable
D1 rs
D2 rw
D4 D4
D5 D5
D6 D6
D7 D7