The Arduino code to initialize the display:
// initialize the lcd library with the interface pin numbers // rs=12, enable=11, d4=5, d5=4, d6=3, d7=2, LCD R/W pin to ground LiquidCrystal lcd(12, 11, 5, 4, 3, 2);