/* I2C 1602 Display Fixed Characters Written August 8, 2020 Programmer: R Jordan Keindler */ #include LiquidCrystal_I2C lcd(0x27, 16, 2); // set the LCD address to 0x27 for a 16 chars and 2 line display int delay1 = 1000; void setup() { lcd.init(); // initialize the lcd lcd.backlight(); // Turn backlight On } void loop() { lcd.setCursor(0, 0); // Set cursor at position zero(0) on first line of 1602 LCD lcd.print("This is 1st Line"); // First line of LCD lcd.setCursor(0, 1); // Set cursor at position zero (0) on second line of 1602 LCD lcd.print("This is 2nd Line"); // Second line of LCD delay(delay1); // Delay one second after each the display of elapsed seconds }