The PCF8574_LH library provides a simple interface for controlling the PCF8574 I/O expander using the I2C communication protocol. It allows you to read and write values to the PCF8574's registers, ...
disabling the touch and portexpander is not enough to use this library (only for display) and also use Wire library #define ESP_PANEL_DRIVERS_BUS_USE_ALL (0) #define ESP_PANEL_DRIVERS_BUS_USE_I2C (0) ...