Folding 3-wire support into the LiquidCrystal library

Hey guys

I'm a bit of a newbie at this!

I tried to use your library (the one attached to the last post) but I can't get it to compile. I am using a Sketch that already works for 7 pin mode. I get this error on compilation:

In file included from DistanceLCD.cpp:1:
/Applications/Arduino.app/Contents/Resources/Java/libraries/LiquidCrystal/LiquidCrystal.h:105: error: conflicting return type specified for 'virtual void LiquidCrystal::write(uint8_t)'
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error:   overriding 'virtual size_t Print::write(uint8_t)'

Doing a bit of googling this suggests the library isn't compatible with Arduino 1.0 - I tried to fix this by using #include "Arduino.h" but this had no effect.

Can you help?