Go Down

Topic: Build 1.6.6 + LiquidCrystal_I2C  (Read 4014 times) previous topic - next topic

fhpa

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.

floresta

Quote
Finally i used the LiquidCrystal_I2C example with the same result.
What do you mean by 'the LiquidCrystal_I2C' example?

What were you using in the first case, a plain parallel interface, a different I2C adapter, or just a different I2C library?


Don

common_ground

#2
Nov 15, 2015, 04:22 pm Last Edit: Nov 15, 2015, 05:35 pm by common_ground
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 :

Code: [Select]

#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.

Go Up