lcd arduino

not works plise help me

#include <Wire.h>

#include <LiquidCrystal_I2C.h>
 
LiquidCrystal_I2C	lcd(0x27,2,1,0,4,5,6,7); 
 
void setup()
{
  
   
    lcd.begin(16, 2);
    lcd.clear();
}
 
void loop()
{
    lcd.setCursor(0,0);
    lcd.print("http://mklec.com");
    lcd.setCursor(0,1);
    lcd.print("I2C Module Demo");
    delay(1000);
}

What hardware do you have? How is it connected to the Arduino? Which Arduino is it?

not works plise help me

"not works" doesn't tell us anything.

plise is not a word in the English language.

This I2C setup works on Due, check the last parameter passed.
I think , I did not check it, it activates background.

FYI I have included my test LCD code also.

[code]#include <Wire.h>
#include <FastIO.H>
#include <LiquidCrystal_I2C.h>
// global variables
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);  // Set the LCD I2C address

[/code]

 lcd_i2c.begin(20, 4); // initialize the lcd
  lcd_i2c.noBacklight();// turn off backlight
  //delay(1000);
  //
  lcd_i2c.print("0123456789 The quick brown fox jumps over the lazy dog 01234567890 Full LCD test");
  lcd_i2c.backlight(); // finish with backlight on
  //delay(1000);
  lcd_i2c.clear();
  lcd_i2c.setCursor(0, 2);
  lcd_i2c.println("0123456789");
  lcd_i2c.backlight(); // finish with backlight on

You seem to be mixing code from different types and that is why it doesn’t work. I think the vital line is

LiquidCrystal_I2C lcd(0x27,20,4);

The code is also pointless. Try this

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,20,4);
 
void setup()
{
    lcd.setCursor(0,0);
    lcd.print("http://mklec.com");
    lcd.setCursor(0,1);
    lcd.print("I2C Module Demo");
}
 
void loop()
{
}

Nick_Pyner:
You seem to be mixing code from different types and that is why it doesn’t work. I think the vital line is

LiquidCrystal_I2C lcd(0x27,20,4);

The code is also pointless. Try this

#include <Wire.h>

#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,20,4);

void setup()
{
    lcd.setCursor(0,0);
    lcd.print(“http://mklec.com”);
    lcd.setCursor(0,1);
    lcd.print(“I2C Module Demo”);
}

void loop()
{
}

Nick has a point - there are too may LiquidCrystal_I2c “libraries” and they use different initialization / constructor.
It would be helpful to know which one ( source code reference is the best way to identify it ) you are using.

Vaclav: Nick has a point - there are too may LiquidCrystal_I2c "libraries"

Ah yes, and so do you. I had forgotten that there are many LCD I2C libraries,so I could be wrong and the original code might be legitimate.

However, the code is so stupid that I wouldn't that mklec.com!