#include <Wire.h>
#include <LiquidCrystal_I2C.h>
const int LCD_ADDRESS = 0x27;
const int LCD_COLUMNS = 16;
const int LCD_RAW = 2; // Or LCD_ROWS
// Corrected: Give the object a name, e.g., "lcd"
LiquidCrystal_I2C lcd(LCD_ADDRESS, LCD_COLUMNS, LCD_RAW);
void setup() {
lcd.init();
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("Electronik"); // Corrected: Text in double quotes
lcd.setCursor(0, 1);
lcd.print("Chaudhary"); // Corrected: Text in double quotes
}
void loop() {
// Nothing here for now
}
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
const int LCD_ADDRESS = 0x27;
const int LCD_COLUMNS = 16;