LCD screen don't work

Hi :raising_hand_man: !

I have recently tried to use a LCD screen to do an alarm clock (the screen is just to show the time), but I have a big problem :

My screen don't work.

I've tried a lot of solutions, like just trying to print simple things like "hello world" or changing the backlight, but anything worked.

This is a bit of my code (for Arduino MEGA 2560) :

#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
lcd.begin(16, 2);
lcd.cursor();
lcd.blink();
lcd.print("ALARM");
}

void loop() {

}

Even if I'm a newbie, I have just made that code with parts of pro's videos and it WORKED, so I don't know why, with me, it's not OK.

I hope that you'll help me to find the solution.

PS : My LCD screen is blue, not green.

posté sur: International Français...
Cela ne répond pas vraiment à ce qui est attendu!

J'avais la flemme d'écrire la traduction.

Bien que je sois français.

Pas grave, on est plusieurs Ă  avoir la flemme de lire en anglais.

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.