Arduino is writing to LCD, I can find no errors, but no LCD-text. What is wrong?

kingoslo:
This is my setup.

Arduino Leonardo. Arduino IDE 1.0.3. A MIDAS LCD (8x2).
What is wrong?

Thank you for your time.

Just idly looking at your post again, you describe the LCD as an 8x2, and your code states that. Your picture shows a typical 16x2 display. The library in the code is for LCDs using the Hitachi HD44780 driver, and what one would expect for the LCD in your picture. The first thing you need to do is check that the 8x2 LCD uses the Hitachi HD44780 driver. if so, your code may be kosher - almost, but your wiring may not be, and your picture is not telling the whole story.