LCD Keypad Shield Issues


I am having problems with my LCD Keypad Shield (1602) with displaying properly:

As you can see the first ‘letter’ on each line are cut off and I am not sure why. This is the code:

// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);  // adjust this to suit your pins.

void setup() {
  // set up the LCD's number of rows and columns: 
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("Hello, James!");

void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 1);
  // print the number of seconds since reset:

Does anyone know what could be causing this?

Kind regards,
James Dolan

Your contrast potentiometer is set incorrectly but that is not your problem. As a matter of fact it helps diagnose the problem since you can see that there is no dark area behind the missing portions of your characters. This leads me to believe that there is a hardware problem with your LCD module.

If the problem is a poor connection between the pc board and the display you might get it to work with some pressure on the black bezel.