0

I have a LCD screen, and I wanted to use it with a Simon Says game that I am making. I tried the tutorial on the Arduino website, but it doesn't work. Then I tried another tutorial on Adafruit. On this one, the LCD screen seemed brighter which is good, but it also doesn't work.

What it is supposed to look like: enter image description here

My code:

#include <LiquidCrystal.h>

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

void setup() {
  lcd.begin(16, 2);
}

void loop() {
  lcd.print("Test!");
  delay(500);
  lcd.clear();
  delay(500);
}

I have verified that the wiring is correct on the official version and the Adafruit version, and my screen is brand new from the kit, so what is wrong?

Edit 1:

Let me define "doesn't work." I can turn the potentiometer, but nothing changes. I can't even see white rectangles or even a single pixel on the display. It is blank. Absolutely nothing to see other than the blacklight, which does work.

Edit 2:

Turns out that the diagram was wrong. Needed to move the potentiometer 1 pin to the right, now it works!

  • Define "doesn't work". Can you adjust the contrast to see dark blocks? Can you see anything else beside the blocks? – Jot Oct 14 '18 at 14:51
  • I can't even see any dark blocks. Nothing works except for the blacklight. If I were to turn the potentiometer, nothing happens. – Ben Stafford Oct 14 '18 at 15:00
4

Turns out that the diagram was wrong. Needed to move the potentiometer 1 pin to the right, now it works!

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.