Search code examples
arduinolcd

Arduino LCD display does not display text


I'm using LCD for the first time and I'm unable to make it work. It lights the background but it does not show any text. I tried three times from the beginning, each time with a different tutorial, and none of the solutions worked. Is there any mistake in my wiring that I do not see?

Code:

#include <LiquidCrystal.h>


LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

void setup() {
  lcd.begin(16, 2);
  lcd.print("hello, world!");
}

void loop() {
  lcd.setCursor(0, 1);
  lcd.print(millis()/1000);
}

Here are the links to the tutorials I used:

I also attached a link to the picture with my wiring.

Picture


Solution

  • Maybe you just need to adjust contrast. I dont understand why you have tkat pot connected to + and - and center pin is left over. Also, get better wires. Connect that pot to contrast pins and try to adjust it.