floresta:
That looks just like the DFRobot LCD shield (Arduino_LCD_KeyPad_Shield__SKU__DFR0009_-DFRobot).In that case you you would need to use:
//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
And the backlight would be controlled by digital pin 10. There's a complete sketch at that link as well. Don
OP, please give that a try.
I agree they look alike on the surface. Hope what's under the hood are the same. One has DFRobot on it and the other doesn't. There is a reason I haven't released my phi-2 shield design EAGLE files yet, some will take them, make a whole bunch and dump to the market, no support, nothing. That is, in my opinion, working against open source hardware intents.