The code dont gives error, but not displays "Hello World"

#include <Wire.h> 
#include <LiquidCrystal_I2C.h>

// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);

void setup() {
  // initialize the LCD
  // Turn on the blacklight and print a message.
  lcd.print("Hello, world!");

void loop() {
  • Are you sure you have the same display as that library is designed for?
    – Majenko
    Dec 13, 2017 at 15:49

1 Answer 1


This can be due a lot of reasons, among:

Most common:

  • Backlight is set too low (there should be a small dial)
  • Circuit problem (recheck), and post it.
  • The I2C address is wrong, there are sketches to check it.

Less common:

  • Broken LCD
  • Broken Arduino
  • No power on Arduino (check LED)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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