In IoT, LCD is rarely required, but some times its useful to monitor errors and connection related issues. In this tutorial we are interfacing I2C LCD with ESP8266 or ESP32. Both code examples are given.
We have very few IOs on ESP8266 and ESP32. I2C based display interface uses only two IO lines.