I building a project which is well along using Arduino 1.0.1. I want to add a 20x4 LCD. The one I bought used an I2C connection.
A test sketch from the vendor would not compile error free, and I determined it's library is for Arduino 022. I have
searched the web for a library that works with 1.0.1. I found one from Yourduino at http://arduino-info.wikispaces.com/LCD-Blue-I2C.
Using library labeled "LiquidCrystal_I2C Library for 20 character 4 line displays" which says on the page it is for 1.0.1.
And the sketch Example "Software Sketch for 4 line 20 character Displays", at bottom of page.
Arduino 1.0.1 gives this error
C:\Users\Jim\Documents\Arduino\libraries\LiquidCrystal_I2C\LiquidCrystal_I2C.cpp:
In member function 'void LiquidCrystal_I2C::expanderWrite(uint8_t)':
C:\Users\Jim\Documents\Arduino\libraries\LiquidCrystal_I2C\LiquidCrystal_I2C.cpp:261:
error: 'class TwoWire' has no member named 'write'
Thanks for responding "fm"! I changed the name of the liquid Crystal_I2C library and loaded the one you suggested. Ran an example, got this error:
C:\Users\Jim\Documents\Arduino\libraries\LiquidCrystal\I2CIO.cpp: In member function 'int I2CIO::begin(uint8_t)':
C:\Users\Jim\Documents\Arduino\libraries\LiquidCrystal\I2CIO.cpp:68: error: 'class TwoWire' has no member named 'read'
C:\Users\Jim\Documents\Arduino\libraries\LiquidCrystal\I2CIO.cpp: In member function 'uint8_t I2CIO::read()':
C:\Users\Jim\Documents\Arduino\libraries\LiquidCrystal\I2CIO.cpp:121: error: 'class TwoWire' has no member named 'read'
C:\Users\Jim\Documents\Arduino\libraries\LiquidCrystal\I2CIO.cpp: In member function 'int I2CIO::write(uint8_t)':
C:\Users\Jim\Documents\Arduino\libraries\LiquidCrystal\I2CIO.cpp:144: error: 'class TwoWire' has no member named 'write'