I2C QW/ST connector on motor 2040 - which pins?

I am writing some code to interface via I2C (with the motor2040 as slave), but I don’t know which pins the Qw/ST connector connects to. Can anybody please point me to a diagram?

It uses GP 20 for SDA and GP 21 for SCL
i2c = PimoroniI2C(sda=(20), scl=(21)) should work?

There is a link to the schematic on its shop page.
motor2040.sch (shopify.com)

This is I2C in master-mode, so it won’t help you (although the pins are correct). For slave mode, you need some other libs. I posted some links in a different thread but can’t remember where. But you should be able to find it.

1 Like

Thank you both, yes the pins are correct. I found an article here, which apart from the ads pestilence, was very helpful.