Go Down

Topic: LCD displaying black boxes (Read 246 times) previous topic - next topic

Danieo

Hi!
I'm trying to display some text on my LCD, but when i run my program on the LCD appears only black boxes.
I'm using DEM 16216 SYH-LY Display(here's the documentation: http://www.tme.eu/pl/Document/75d81a775dc1633337975c25138f1e0b/dem16216syh-ly.pdf) with Arduino Leonardo(i tried also on Yun).

The code:
Code: [Select]
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup()
{
  lcd.begin(16, 2);
  lcd.print("Hello");

}

void loop() {}


and the second code:
Code: [Select]
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup()
{
  lcd.begin(16, 2);
  lcd.setCursor(0, 0);
  lcd.print("Hello");

}

void loop() {}


Paul__B

Show us (all) your connections.

Go Up