This is a duplicate of Change Pi Pico Serial and I2C Pins and use both I2C Ports - #4 by maxgerhardt.