Pages: [1]   Go Down
Author Topic: LCD displaying black boxes  (Read 189 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
#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:
#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() {}
Logged

NSW Australia
Offline Offline
Faraday Member
**
Karma: 84
Posts: 3447
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Show us (all) your connections.
Logged

Pages: [1]   Go Up
Jump to: