If you have a problem with the wiring, multi-line LCD display makes confusing or inadequate leg Arduino I2C LCD module, this is the recommended option. It can be connected to the LCD monitor 16x2 or 20x4 using wires only two lines to help ease leg rest Arduino to use the E key, easy to use with standard library available.
Details 1602 2004 LCD Adapter Plate IIC I2C Interface for arduino.
Sample code 1602 2004 LCD Adapter Plate IIC I2C Interface for arduino.
// Display the pink text.
# include < Wire.h > # include < LCD.h > # include < LiquidCrystal_I2C.h >. # define I2C_ADDR 0x27 // < # define BACKLIGHT_PIN 3. LiquidCrystal_I2C LCD ( I2C_ADDR , 2 , 1 , 0 , 4 , 5 , 6 , 7 ) ; void Setup ( ) { //lcd.begin (16,2); // < LCD . BEGIN ( 20 , 4 ) ; // Lcd.setCursor (3,1); //. go to the third row, the second letter. lcd.print ("Welcome ALL To"); LCD . SetCursor ( 5 , 2 ) ; // to the character of the fifth row 3 LCD . Print ( " ArduinoAll " ) ; } void loop ( ) { }
More information 1602 2004 LCD Adapter Plate IIC I2C Interface for arduino.