/* * Program by R. Jordan Kreindler * showing the use of the I2C capabilities * of the ESP32 development board. */ #include LiquidCrystal_I2C lcd(0x27, 16, 2); // Piggyback lcd address //(Usually either 0x3F or 0x27) // for my piggyback adapters. // Display is 1602 void setup() { lcd.init(); // Initialize the lcd lcd.backlight(); // Turn the backlight On lcd.clear(); // Clear the display, and set // the cursor to home position lcd.print(" Hello My World "); // Print " Hello My World " at this // position lcd.setCursor(0, 1); // Set the cursor at the starting // position on the next row lcd.print("How are you now?"); // Print "How are you now?" at this // position } void loop() { }