Redboard Artemis ATP I2C/QWIIC problem with Example1_Wire

When I run this sketch with nothing connected to the board, I get this:

SparkFun Arduino Apollo3 Wire Example (I2C Scanner)

Compiled on Nov 5 2019, 22:12:01

Scanning…

Unknown error at address 0x01

Unknown error at address 0x02

Unknown error at address 0x03

Unknown error at address 0x04

Unknown error at address 0x7E

No I2C devices found

Do I need to set up something different? I get the same output when I connect my Qwiic Scale board.

I just tried it with a BME280 sensor connected to SDA/SCL and it works OK. I don’t have a Qwiic board to try. So check your wiring and make sure everything’s 3.3V compatible.

To be clear I’m using a standard Artemis Redboard, though it shouldn’t matter.

Unknown error at address 0x74

Unknown error at address 0x75

I2C device found at address 0x76 !

Unknown error at address 0x77

Unknown error at address 0x78

Unknown error at address 0x79

Unknown error at address 0x7A

Unknown error at address 0x7B

Unknown error at address 0x7C

Unknown error at address 0x7D

Unknown error at address 0x7E

done

The schematic shows the Quiic connector attached to pad D39/D40, same as the labeled SDA/SCL connectors. Just after the ‘include wire.h’, you could try adding this line to make sure it’s using the right connections, though it shouldn’t be necessary:

TwoWire myWire(4); //Will use pads 39/40, pins labeled SCL/SDA on BlackBoard Artemis