Thanks for the tip

Quote Originally Posted by timmers View Post
Make sure you leave enough time at power up for the LCD to initialise, typically atleast 500mS. The Oled displays are alot quicker to react and I found the following defines worked ok
DEFINE LCD_COMMANDUS 10
DEFINE LCD_DATAUS 10

We use a similar display and they work very well. Be careful of static, they seem very sensitive.
Tim.
Thats very short timings.

Tried that and a few others, no joy

Do you ground the RW pin or connect to the pic??

Any pull ups??

This is my simple test prog and the connections
' Compiler : PICBASIC PRO Compiler 2.6
' Assembler : MPASM
' Target PIC : 18F 452
' Hardware : LCD display
' Oscillator : 4M external
' Keywords :
' Description : LCD in 4-bit mode.

' DB4 PortA.0
' DB5 PortA.1
' DB6 PortA.2
' DB7 PortA.3
' RS PortA.4
' E PortB.3
' RW Ground
' Vdd 5 volts
' Vss Ground
' Vo 20K potentiometer (or ground)
' DB0-3 No connect
DEFINE OSC 4

PAUSE 1000 'LCD Ready
LCDOUT $FE,1 'Erase Screen
BASLA
lcdout "Hello"
PAUSE 500 'Wait 5 Sec.

LCDOUT $FE,1 'Erase Screen

LCDOUT "World"

PAUSE 500
LCDOUT $FE,1
GOTO BASLA
End