#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#define I2C_ADDR 0x27
#define TOTAL_ROWS 2
#define TOTAL_COLUMNS 16
LiquidCrystal_I2C lcd(I2C_ADDR, TOTAL_COLUMNS, TOTAL_ROWS);
void setup() {
lcd.init(); // Initialize the LCD
lcd.backlight(); // Turn on the backlight
}
void loop() {
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("HELLO KLU ");
delay(2000);
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Lets Count 0-20!");
delay(2000);
lcd.clear();
for (int i = 0; i <= 20; i++) {
lcd.setCursor(0, 1);
lcd.print(i);
delay(1000);
lcd.clear();
}
}