I’ve got an Arduino board wired up to a 16x2 character lcd, and it is not displaying the second line of text. I had it working fine when I was in my dorm room. Then I pulled all of the wires out, brought the kit home, reassembled it, plugged it into a different computer, and loaded up the same program file. Now its only displaying the first line of text.
Here is the code:
const int BACK_LIGHT = 13; // Pin 13 will control the backlight
// RS (LCD pin 4) to Arduino pin 12
// RW (LCD pin 5) to Arduino pin 11
// Enable (LCD pin 6) to Arduino pin 10
// LCD pin 15 to Arduino pin 13
// LCD pins d4, d5, d6, d7 to Arduino pins 5, 4, 3, 2
LiquidCrystal g_lcd(12, 11, 10, 5, 4, 3, 2);
digitalWrite(BACK_LIGHT, HIGH); // Turn backlight on.
// Replace ‘HIGH’ with ‘LOW’ to turn it off.
g_lcd.clear(); // Start with a blank screen
g_lcd.setCursor(0, 0); // Set the cursor to the beginning
g_lcd.setCursor(0, 1); // Set the cursor to the next row
Here are some pictures of the LCD and board.
Do you guys think this is a wiring problem?
on a side note, the computers are running different FTDI drivers
Thanks for all your help!