Pages: [1]   Go Down
Author Topic: I2C 20X4 display issues  (Read 1039 times)
0 Members and 1 Guest are viewing this topic.
Devon UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
If you dont ask you will never know
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
//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
Logged

Devon UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
If you dont ask you will never know
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley
After surfing for 5 hours I got there...
Regards Antony
Logged

Pages: [1]   Go Up
Jump to: