Changing scl/sda pins for qwiic-i2c to use ism330dhcx

I’m using the Sparkfun qwiic_ism330dhcx library from a pico w board.

I can access using GPIO 4/5 and all work well, but I want to change to 2/3, for use on a different board (Adafruit rp2040 datalogger), as there is where the connector socket is.

I cannot find where to change these addresses. Could someone help?

Managed to fix the issue. Paassed the pins in the init for class MicroPythonI2C in the micropython_i2c.py module.

1 Like

Nice work!