Have you done the wiring as per this diagram?http://arduino.cc/en/Tutorial/LiquidCrystalIf not, you will need to change the pin numbers in your:LiquidCrystal lcd(12, 11, 5, 4, 3, 2);line to match the wiring you have done.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16