#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2);
void setup() {
// put your setup code here, to run once:
lcd.init();
lcd.backlight();// Включаем подсветку дисплея
lcd.print("lcd");
lcd.setCursor(8, 0);
lcd.print("arduino");
}
void loop() {
// put your main code here, to run repeatedly:
// Устанавливаем курсор на вторую строку и нулевой символ.
lcd.setCursor(0, 1);
// Выводим на экран количество секунд с момента запуска ардуины
lcd.print(millis()/1000);
}