Go Down

Topic: I2C 20X4 display issues (Read 1 time) previous topic - next topic

antony1876

Hi
I have looked around the Forum for answers and not sorted as yet.
I did find this post
http://arduino.cc/forum/index.php/topic,93757.0.html
But that is OK with the liquidcrystal_I2C.h and the liquidcrystal_I2C.ccp files

Code: [Select]
//DFRobot.com
#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()
{
}

The code above is what I am using ..I know that I will need to change the LCD sise to 20X4.

I cannot cut and past the Error compliling message .So typing then in :-

In file included from helloworld.cpp:3:
C:\bla bla libraries\liquidcrystal_I2C/liquidcrystal_I2C.h:81:error conflicting return type specified for 'virtual void liquidcrystal_I2C::write(units8_t)'
C:bla bla \hardware\arduino\cores\arduino/print.h:48:error: overriding 'virtual size_t print::write(units9_t)'


Any help please

Regards Antony

antony1876

Hi A update is required.
Download it from here :-
http://www.dfrobot.com/index.php?route=product/product&filter_name=DFR0063&product_id=135
Works for me :)
After surfing for 5 hours I got there...
Regards Antony

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy