Changing I^2C Ports on nrf52840 mini board (arduino)

I’m using Arduino to program my SparkFun Pro nRF52840 Mini board. I want to read data from a bno055 using I^2C. For this I use Adafruits Sensor library. And I think i just need to hange the default I^2C ports to make it happen. Is there a way to do this? Or is there an other way to make this happen with the Adafruit library?

Hi Satge,

I am not sure I understand your question here. Are you trying to change the I2C port on the nRF52840 or are you trying to set the pins for SDA/SCL in the Adafruit code? If you are trying to change the I2C pins, you will want to adjust them in the [variants file for the Pro nRF52840. If you want to set the pins in your code, just declare them in the Wire.begin(); function. On the Pro nRF52840, SDA is on pin 8 and SCL is on pin 11.](nRF52840_Breakout_MDBT50Q/Firmware/nRF5_SDK/components/boards/sparkfun_nrf52840_mini.h at master · sparkfun/nRF52840_Breakout_MDBT50Q · GitHub)