title: Getting text to show up on an I2C LCD
body: <p>I am new to electronics, and trying to get my 1602 LCD to work with an I2C adapter.
  I got my backlight to work, but I can't get text to show.
  This is my current code:</p>
  <pre><code>#include &lt;LiquidCrystal_I2C.h&gt;
  #include &lt;Wire.h&gt;
  LiquidCrystal_I2C lcd(0x27, 16, 2);
  
  void setup() {
      lcd.init();
      lcd.backlight();
      lcd.setCursor(5, 0);
      lcd.print(&quot;HELLO&quot;);
  }
  
  void loop() {
      lcd.backlight();
      delay(2000);
      lcd.noBacklight();
      delay(2000);
  }
  </code></pre>
  <p>I checked for the I2C address with the <a href="http://playground.arduino.cc/Main/I2cScanner" rel="nofollow noreferrer">scanner</a> and it is 0x27.</p>
  <p>I Googled a bit and came past <a href="https://forum.arduino.cc/index.php?topic=369998.0" rel="nofollow noreferrer">this</a> post where someone posted this:</p>
  <blockquote>
  <p>Simple test</p>
  <p>Apply +5v / GND to LCD - display - and than apply background LED power ( sometime marked A/K) to the LCD   module.</p>
  <p>No other connections ( data etc.) are necessary for this power up test.</p>
  <p>You should  be able to discern ALL chatterers fields, but connecting contrast pot will make it easier.</p>
  <p>It MAY not be totally visible but the module will initialize ( internally) on  power up and ALL characters fields should show.</p>
  <p>Of course by now you know you need basically three &quot;power&quot; connections to the LCD - LCD itself, contrast and backlight.</p>
  <p>Sure looks as the main LCD power is missing - hence no intelligent data can be processed / displayed.</p>
  </blockquote>
  <p>I did this test aswell and came to <a href="https://imgur.com/a/sCg28" rel="nofollow noreferrer">these results</a>:</p>
  <ul>
  <li>When providing 5V to the backlight, it shows up bright.</li>
  <li>When providing 5V to both the backlight and the LCD itself the backlight gets darker but nothing else shows up.</li>
  </ul>
  <p>I then accidentally put the I2C adapter upside down, but that did give me the text blocks.</p>
  <p>How could I get the text to show? What am I currently doing wrong?</p>