arduino-course/Week 3/LCD Hello-World/LCD Hello-World.ino

19 lines
298 B
C++

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x3F, 16, 2);
void setup() {
lcd.init();
lcd.backlight();
lcd.setCursor(0,0);
lcd.print("Viva sosio loko");
}
void loop() {
lcd.setCursor(0,1);
lcd.print(millis()/1000);
lcd.print(" Segundos");
delay(100);
}