// |———————————————————————————————————————————————————————|
// | made by Arduino_uno_guy 11/13/2019 |
// | https://create.arduino.cc/projecthub/arduino_uno_guy|
// |———————————————————————————————————————————————————————|
#include <LiquidCrystal_I2C.h>
#include <Wire.h>
// Initialize the liquid crystal library
// The first parameter is the I2C address
// The second parameter is how many columns are on your screen
// The third parameter is how many rows are on your screen
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
// Initialize lcd screen
lcd.init();
// Turn on the backlight
lcd.backlight();
}
void loop() {
// Wait for a second
delay(1000); // Added semicolon
// Write "Hello, From" on the top row
lcd.setCursor(0, 0);
lcd.print("Hello, From"); // Corrected quotes
// Write "Arduino_uno_guy" on the bottom row
lcd.setCursor(0, 1);
lcd.print("Arduino_uno_guy"); // Corrected quotes
}