#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Initialize LCDs with their respective I2C addresses
LiquidCrystal_I2C lcd1(0x27, 16, 2); // First LCD at address 0x27
LiquidCrystal_I2C lcd2(0x26, 16, 2); // Second LCD at address 0x26
void setup() {
}
void loop() {
lcd1.init();
lcd1.backlight();
lcd1.setCursor(0, 0);
lcd1.print("LCD 1 Active");
lcd2.init();
lcd2.backlight();
lcd2.setCursor(0, 0);
lcd2.print("LCD 2 Active");
}
// Your code here