title: Can't display anything on 16x2 display(I2C Board) with nodemcu?
body: <p>I'm trying to display text on 16x2 display using a Nodemcu board. I have connected the display using a serial connector to board like below.</p>
  
  <ul>
  <li>Vcc => 3v Pin</li>
  <li>GND => G pin</li>
  <li>SCL => D1 pin</li>
  <li>SDA => D2 pin</li>
  </ul>
  
  <p>This is the code I have tried</p>
  
  <pre><code>#include &lt;Wire.h&gt;
  #include &lt;LiquidCrystal_I2C.h&gt;
  
  LiquidCrystal_I2C lcd(0x3F,16,2); // set the LCD address to 0x3F for a 16 chars and 2 line display
  
  void setup()
  {
  lcd.init(); // initialize the lcd
  lcd.backlight();
  lcd.setCursor(0,0);
  lcd.print("Hello world");
  lcd.setCursor(1,0);
  lcd.print("ESP32 I2C LCD");
  
  }
  
  void loop() {}
  </code></pre>
  
  <p>I was able to compile this code successfully and save it to the board using Arduino IDE, but nothing display on the screen, the backlights are working fine.</p>
  
  <p>Does anyone know what is going on?</p>
  
  <p>the example I followed <a href="https://www.instructables.com/id/Interface-LCD-Using-NodeMCU/" rel="nofollow noreferrer">https://www.instructables.com/id/Interface-LCD-Using-NodeMCU/</a></p>