Download HD44780 LCD I2C driver lcd_api.py & pico_i2c_lcd.py from https://github.com/T-622/RPI-PICO-I2C-LCD ...
This is a project which adapts code from another user to allow usage of the PCF8574 I2C lcd backpack for either 20x4 or 16x2 lcd screens. Credit: https://github.com ...