Change this
Code:
DEFINE LCD_DBIT 4 ' 4 bit selected
to
Code:
DEFINE LCD_DBIT 0 ' Databit start at PORTB.0