#include <LiquidCrystal_I2C.h>
int i = 0;
LiquidCrystal_I2C ecranLCD(0x27, 20, 4);
LiquidCrystal_I2C ecranLCD2(0x26, 16, 2);
void setup() {
ecranLCD.begin(20, 4);
ecranLCD.backlight();
ecranLCD.print("Yo the Man!");
ecranLCD.setCursor(0, 1);
ecranLCD.print("Vive le 420 ...");
ecranLCD.setCursor(0, 3);
ecranLCD.print("Temps: ");
ecranLCD2.begin(16, 2);
ecranLCD2.backlight();
ecranLCD2.print("Bonsoir Paris !");
}
void loop() {
ecranLCD.setCursor(7, 3);
ecranLCD.print(millis() / 1000);
}