Go Down

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


I have looked around the Forum for answers and not sorted as yet.
I did find this post
But that is OK with the liquidcrystal_I2C.h and the liquidcrystal_I2C.ccp files

Code: [Select]
#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.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


Hi A update is required.
Download it from here :-
Works for me :)
After surfing for 5 hours I got there...
Regards Antony

Go Up