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

19 lines
298 B
Arduino
Raw Normal View History

2019-11-22 16:48:27 +01:00
#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);
}