Forum >liquidCrystal_I2C and arduino RC2 IDE = error
liquidCrystal_I2C and arduino RC2 IDE = error

Hello, i've recently bougth the 16x2 I2CLCD (DFR0063)and tried it on my arduino.
i need some time to find the good pins for SCL and SDA... ANALOG PIN 4 & 5... so...
I work with Arduino RC2 IDE and enable to compile the "hello world" sketch's.
there is an error on line 81 from lib about a bad return...
[quote]In file included from jeanLoup_Lcd.cpp:3:
/Applications/Arduino rc2.app/Contents/Resources/Java/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.h:81: error: conflicting return type specified for 'virtual void LiquidCrystal_I2C::write(uint8_t)'
/Applications/Arduino rc2.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
[/quote]
I've tried with Arduino021 and it's fine and great lib but...
Do you plan to correct the problem for the new IDE?
Best regards.
i need some time to find the good pins for SCL and SDA... ANALOG PIN 4 & 5... so...
I work with Arduino RC2 IDE and enable to compile the "hello world" sketch's.
there is an error on line 81 from lib about a bad return...
[quote]In file included from jeanLoup_Lcd.cpp:3:
/Applications/Arduino rc2.app/Contents/Resources/Java/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.h:81: error: conflicting return type specified for 'virtual void LiquidCrystal_I2C::write(uint8_t)'
/Applications/Arduino rc2.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
[/quote]
I've tried with Arduino021 and it's fine and great lib but...
Do you plan to correct the problem for the new IDE?
Best regards.
2012-03-01 00:45:05 I´ve got dedicated support from EXP tech ([url=http://www.exp-tech.de]http://www.exp-tech.de[/url]). Now I worked with the Arduino-Software 0023 and the sketch runs without any problems. :)
Helge
12Haegar34
Helge

2012-02-29 02:01:35 Hello, for my situation the bug in the library still exists. :( I like to connect the LCD-Display, type "DFRobot I2C/TWI LCD 1602", with my Arduino ATmega 168 at IC2. I´ve loaded the library from this link [url=https://www.dfrobot.com/index.php?route=product/product&keyword=DFR0063&category_id=0&description=1&model=1&product_id=135]https://www.dfrobot.com/index.php?route=product/product&keyword=DFR0063&category_id=0&description=1&model=1&product_id=135[/url] . And I tried also the library from Erik Bartmann and from this link [url=http://arduino-info.wikispaces.com/file/view/Arduino_library.zip]http://arduino-info.wikispaces.com/file/view/Arduino_library.zip[/url] .
But always: After verifiying the example "Hello world", I´ll get the error-message: "In file included from HelloWorld.cpp:5:
C:\ARDUINO\Arduino ATmega128\Development environment\Windows\arduino-0018\libraries\neu/LiquidCrystal_I2C.h:81: error: conflicting return type specified for 'virtual void LiquidCrystal_I2C::write(uint8_t)'
C:\ARDUINO\Arduino ATmega128\Development environment\Windows\arduino-0018\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)' ".
The little program, I want to use, is this:
//DFRobot.com
//Compatible with the Arduino IDE 1.0
//Library version:1.1
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
lcd.print("Hello, world!");
}
void loop()
{
}
Please, can somebody help me?
12Haegar34
But always: After verifiying the example "Hello world", I´ll get the error-message: "In file included from HelloWorld.cpp:5:
C:\ARDUINO\Arduino ATmega128\Development environment\Windows\arduino-0018\libraries\neu/LiquidCrystal_I2C.h:81: error: conflicting return type specified for 'virtual void LiquidCrystal_I2C::write(uint8_t)'
C:\ARDUINO\Arduino ATmega128\Development environment\Windows\arduino-0018\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)' ".
The little program, I want to use, is this:
//DFRobot.com
//Compatible with the Arduino IDE 1.0
//Library version:1.1
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
lcd.print("Hello, world!");
}
void loop()
{
}
Please, can somebody help me?

2011-12-06 19:05:51 Hi Roberto,
Thanks for your follow up and patients. There is good news. We have an updated library. Thanks to one of our customers :
Erik Bartmann
[url=http://www.erik-bartmann.de/]www.erik-bartmann.de[/url]
You can download the updated library from the [url=https://www.dfrobot.com/index.php?route=product/product&filter_name=DFR0063&product_id=135]product page[/url]
Hector
Thanks for your follow up and patients. There is good news. We have an updated library. Thanks to one of our customers :
Erik Bartmann
[url=http://www.erik-bartmann.de/]www.erik-bartmann.de[/url]
You can download the updated library from the [url=https://www.dfrobot.com/index.php?route=product/product&filter_name=DFR0063&product_id=135]product page[/url]

2011-12-05 08:22:20 Are there (good) news about the bug fixing?
I would like to use the 1.0 Arduino IDE ...
Thanks
Roberto
BRUNIALTI
I would like to use the 1.0 Arduino IDE ...
Thanks
Roberto

2011-11-03 21:37:26 Hi Mrbbp,
We are aware of the issue, and we will try to fix it, but I'm not sure when the update will be released.
Hector
We are aware of the issue, and we will try to fix it, but I'm not sure when the update will be released.
