Olimex Support Forum

DUINO => SHIELDS => Topic started by: haeleng on September 27, 2015, 04:41:46 PM

Title: I2C 16x2 examples compile error
Post by: haeleng on September 27, 2015, 04:41:46 PM
Hi,

I'm new to programming in C++ and like to learn it a little with a Arduino UNO and bought a I2C LCD16x2 shield.
I've download the libraries from Olimex.
When I load some examples (i.e. Check_Id or Set_Backlite) into Arduino 1.66 I get a compile error:

print.h 'byte' has not been declared      virtual size_t write(byte) = 0;

I did not make any change to print.h
How can I solve this problem so that I can test my I2C LCD screen
Title: Re: I2C 16x2 examples compile error
Post by: LubOlimex on October 06, 2015, 10:01:16 AM
Hey there,

Please use the latest Arduino IDE version. Both examples that you mentioned compile fine here using Arduino IDE version 1.6.5.

Best regards,
Lub/OLIMEX