It is quick and easy to connect a liquid crystal display to the Arduino to display text. This setup uses the I2C communication protocol, allowing user to connect two data wires instead of eight. Within your program, make sure you include a Liquid crystal library as well as an I2C library.

See my code:
//YWROBOT //Compatible with the Arduino IDE 1.0 //Library version:1.1 #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars and 2 line display void setup() { lcd.init(); // initialize the lcd lcd.init(); // Print a message to the LCD. lcd.backlight(); lcd.setCursor(1,0); lcd.print("2022 is a good year"); lcd.setCursor(5,1); lcd.print("to code"); lcd.setCursor(5,2); lcd.print("in the snow"); lcd.setCursor(0,3); lcd.print("Powered by s.b.smith"); } void loop() { }


For more info: https://learn.adafruit.com/i2c-spi-lcd-backpack/arduino-i2c-use