I've tested you sketch on my lcd+keypad shield and it worked perfectly. I just had to change the pin numbers because the lcd on my shield is wired differently than you test setup.
So I think there must be something wrong with your connections...
I've tested you sketch on my lcd+keypad shield and it worked perfectly. I just had to change the pin numbers because the lcd on my shield is wired differently than you test setup.
So I think there must be something wrong with your connections...