This may exist elsewhere but here is a I2C library to control to a 20x4 LCD display that uses a SPLC780D control IC.
I wrote it for use on an ESP32. Not sure if it work on a 8266.
USAGE:
lcd = lcd_2004.lcd(device address, SCL Pin Number, SDA Pin Number)
Functions implemented are :
lcd_clear() - Clear Screen
lcd_backlight(boolean) - Set Backlight on or off
lcd_print(string,line,column) - print string starting on line(1-4) and column(0-19)
lcd_on() - Turn on display
lcd_off() - Turn off display
Long strings will wrap to the next line. If you try to print beyond the bottom of the screen it simply cuts it off.
It's a bit basic but it works.
Many thanks to the other examples of this type of library out there for helping me figure out how to get this running.