I recently got a 16x2 I2C lcd, typical of those on ebay. It has a 8574 i2c interface chip.
I have had mixed success playing with the various example files offered.
I have found that if i have, say, the New-liquidcrystal-master library installed ,and also the liquidcrystal-i2c library installed, (but not both #included) the LiquidCrystal_i2c that the compiler chooses may be the wrong one, with resulting compiler errors.
I have to actually delete to the recycle bin the library that is 'wrong' for that sketch and later restore it if i need it for a different sketch - rather clumsy and prone to error. The compiler seems smart enough to find library files even if i rename a library to try to 'hide' it. For example, the compiler finds #include <LiquidCrystal_I2C.h> in several libraries and they do not have identical functions which causes the compiler errors.
*******I do apologise, i just found the #include local files syntax which solves my problem. It seems I just need to copy the needed library over into the specific ino folder, just tried it and i get a lot less red from the compiler..
i may be off the beam here, but is there a way in a sketch to direct the compiler to the required library version?
For what its worth, if its at all relevant, i keep all my user sketches on a separate HDD in my own directory (not the default c:/users/name/docs/arduino) and all 'my' own library files are in a library directory within the sketches directory. The arduino core libraries are in the default location programfiles(x86).
If I'm asking the wrong question and there's a better way I'd like to hear it.
thanks,
mike