The Instruction on LiquidCrystal I2C Doesn’t Work With Hello World Example

Byamber

The Instruction on LiquidCrystal I2C Doesn’t Work With Hello World Example

When you do the Hello World Example, the liquidcrystal I2C doesn’t work. One reason could be the arduino IDE itself.

Firstly, you need to confirm the jumper cap was installed correctly as following picture:

V2 Lq-0

Secondly, you could follow the instructions for your reference:

  1. Uninstall all arduino IDE software,delete installation packages and all arduino files (especially in my document).
    Delete all the LiquidCrystal_I2C.zip and LiquidCrystal_I2C extracted folders. Then restart the computer.
  2. Upzip the arduino 1.8.2 software ( you could download it from the link : https://downloads.arduino.cc/arduino-1.8.2-windows.zip), open the libraries file and delete the LiquidCrystal files.
  3. Download the libraries and upzip it, copy the LiquidCrystal_I2C file to Arduino-libraries(my computer–>my document–>Arduino–>libraries ). At the same time, you need to copy the LiquidCrystal_I2C file to arduino-1.8.2\libraries.
    http://kookye.com/wp-content/uploads/samplecode/LiquidCrystal_I2C.zip)
  4. Open arduino IDE, choose the Board: “Arduino/Genuino Uno” and correct port, then find the I2C address and fire up the LCD as per our tutorial. ( http://kookye.com/?p=72 )

Lastly, If you follow the above instructions, it just get displayed partially.

You need to revise the return value as return 1 in .cpp file named LiquidCrystal_I2C.

Arduino — >libraries file — >LiquidCrystal_I2C — >LiquidCrystal_I2C.cpp

V2 Lq-1 V2 Lq-2 V2 Lq-3

The Related Article : Tutorial of the 16×2 I2C LiquidCrystal Display for Arduino

About the Author

amber administrator

You must be logged in to post a comment