How are the pin 3 (Contrast adjustment) connected?

Have you tried to change the LCD defines?

Code:
‘ Set command delay time in us
DEFINE LCD_COMMANDUS 1500
‘ Set data delay time in us
DEFINE LCD_DATAUS 44