I upgraded my 1.6.1 to 1.6.6 version and found a strange behavior of printing to LCD. When printing text in each line only the first letter of the text appeared on the display. Finally i used the LiquidCrystal_I2C example with the same result.
I deinstalled 1.6.6 and switched to 1.6.5 so evrything was OK again.
In this post is solution for problems with new print procedure and LCD libs.
Now , just for fun ( it is so many broken or resource hungry I2C LCD libs ) So i wrote one light and IDE 1.6.6 friendly library ( mostly only repair the existing library ).
I use this great Wire library replacement ( hardware I2C write only ) from William Greiman and result is nice :
#include <LiquidCrystal_I2C_AvrI2C.h>
// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C_AvrI2C lcd(0x27, 16, 2);
//----------------------------------------------------
void setup(){
lcd.begin();
lcd.backlight();
lcd.print("AvrI2C LCD-Light");
}
//----------------------------------------------------
void loop(){}
this code with LiquidCrystal_I2C_AvrI2C :
compiled size is 1,618 bytes , 48 bytes of RAM
with fmalpartida :
compiled size is 4,040 bytes , 286 bytes of RAM
All files included, just extract in sketchbook/library folder.