Pages: [1]   Go Down
Author Topic: LCD Keypad Shield Issues  (Read 724 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

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:

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:
  lcd.print(millis()/1000);
}

Does anyone know what could be causing this?

Kind regards,
James Dolan
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 32
Posts: 4245
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.


Don
Logged

Pages: [1]   Go Up
Jump to: