exit status 1 'class LiquidCrystal_I2C' has no member named 'init'

<
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); // Устанавливаем дисплей
void setup()
{
lcd.init(); //Error in this line
lcd.backlight();// Включаем подсветку дисплея
lcd.print("iarduino.ru");
lcd.setCursor(8, 1);
lcd.print("LCD 1602");
}
void loop()
{
// Устанавливаем курсор на вторую строку и нулевой символ.
lcd.setCursor(0, 1);
// Выводим на экран количество секунд с момента запуска ардуины
lcd.print(millis()/1000);
}

Please help, thanks in advance

Please help, thanks in advance

You need help not calling a function that doesn't exist? What help do you need?

There are some (older) LCD libraries that used lcd.init(), but the library you're using needs you to put

lcd.begin();

9 Likes