L
L
littleguga2015-07-01 23:45:29
Arduino
littleguga, 2015-07-01 23:45:29

What's wrong with the lcd screen?

It looks like this:
Q82AuFQa_NE.jpgdR0-zxnkSOY.jpg7anrhV0h6Ns.jpg
Here is the code:

#include <LiquidCrystal.h>

// rs e d4 d5 d6 d7
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);

void setup() {
  // put your setup code here, to run once:
  lcd.begin(16, 2);
  lcd.setCursor(0, 0);
  lcd.print("Hello");
}


void loop() {
  // put your main code here, to run repeatedly:
}

Everything is connected correctly.
What could be the problem?
Thanks in advance for your reply!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Kotlyarov, 2015-07-02
@denisandroid

Are you sure everything is connected correctly?
yes, and lcd.setCursor(0, 0);
position at 0 0?
Try to specify something higher
Yes, and I don’t see your board!

D
Denis, 2016-02-15
@meetyourmurders

I had exactly the same problem due to poor contact, I solved the problem by soldering the female connector7d01166bb97149e7a2415b96a2243cc8.JPG2242b0685ced46299ba47b6c41f369c7.JPG

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question