#include "LiquidCrystal_I2C.h"
#define LCD_ADDR 0x27 // Corrected address format
#define LCD_COLUMNS 20 // Corrected number of columns
#define LCD_ROWS 4 // Corrected number of rows
LiquidCrystal_I2C lcd(LCD_ADDR, LCD_COLUMNS, LCD_ROWS); // Initialize LCD object
void setup() {
// put your setup code here, to run once:
lcd.init();
lcd.backlight();
lcd.setCursor(5, 0);
lcd.print("Hello");
lcd.setCursor(0, 1);
lcd.print("Welcome to Wokwi");
}
void loop() {
// put your main code here, to run repeatedly:
}