Liquid Crystal lib with IDE 1.5.4

I am sorry for the hard time :wink:
The Yun is new for me and has some changes.
Your hint to the rigth power supply was very good and helped to get clear conditions on the shield. I have 4.6 V on pin 5V due to the voltage drop over D2. This is ok for me.

Now I have two problems furthermore:

  1. The LCD Keypad shield - may be more complex
  2. Therefore I was going one step back and tried a simple I2C sensor DS1307. This work on Arduino 2009 & IDE 1.0.5 but not with Yun & IDE 1.5.4.

I saw the changed pinout of the Yun. This is one issue I have not realized (:-)) and I think with the correct pins this will be ok. Sorry for that.
Not clear is the compiler error described.
Claus

Claus,
I don't understand the compile error either. I assume you did set the board type in the IDE.
Are you loading the sketch through the usb, or wifi?
Maybe someone else here has an idea about the compile error.

I found the LeoShield which should help to contact "old" shields to Arduino Leonardo & YΓΊn. Do you know this?

I did not know about the need for the "LeoShield".
I checked and found this info

You will need the LeoShield if the shield you are considering uses any of the following pins which are from the older style IO pin mapping.

D11 (SPI)MOSI
D12 (SPI)MISO
D13 (SPI)SCK
A4 (I2C)SDA
A5 (I2C)SCL

I don't think your lcd shield use any of these.
I have a leonardo, and run a lcd shield on it with no problems.
BTW, what did you have to do to get your voltage up ?

For the LCD I do not need it. But, I have some other shields yet.
For my LCD Keypad I have to look for the right pinning, I believe.
The power is ok since I use an external power source of 5 V to VIN.