November 22, 2024, 11:21:45 PM

I2C 16x2 examples compile error

Started by haeleng, September 27, 2015, 04:41:46 PM

Previous topic - Next topic

haeleng

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

LubOlimex

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
Technical support and documentation manager at Olimex