LCD DCM 24227 control problems

Hi,
I bought an LCD OPTREX DMC 24227 for a project. As I have read here and on other sites, the controller on this LCD series is an old version of the HD44780.

I tried to implement what this guy has done, but with no success.
He uses a library called Wprogram.h which I have replaced by arduino.h with no success. The code doesn't compile at all.

If I use the standard liquidcrystal function, the lcd turns on and writes random characters. But this, at least, let me know that the LCD is alive. :slight_smile:

I was thinking of changing the liquidcrystal library, as it has been done by others, but I don't really know which timings have to be modified.

Any ideas ?

Best regards,
Pedro