pimoroni / badger2040

Examples and firmware for Badger 2040 and Badger 2040 W
MIT License
150 stars 50 forks source link

I2C pins on Qwiic connector #46

Closed jabbershort closed 1 year ago

jabbershort commented 1 year ago

I'm trying to add a breakout board (BME688) via the Qwiic connector, however no combination of SDA/SCL pins can detect the board, what pins should I use to access boards via the connector?

helgibbons commented 1 year ago

Badgers use GP4 and GP5 for I2C.

There's a basic example for BME68x that you could try here:

https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/examples/breakout_bme68x/bme68x_demo.py

jabbershort commented 1 year ago

Hi @helgibbons, thanks for your response. I've just found out that hadn't worked for me because the Qwiic connector on my badger wasn't actually soldered to the board!

helgibbons commented 1 year ago

Sorry to hear that - drop us a line at support@pimoroni.com if you need a replacement sorting!