I am having the same issue (but with a different accelerometer). I tried using the i2c Guide posted, but for me, the code hangs at the Wire.endTransmission(); line. So even if I try to run that i2c scanner https://playground.arduino.cc/Main/I2cScanner to find the address of my slave device, it doesn’t finish because it stops at that same Wire.endTransmission(); line.
Do I need any kind of external pullup?
Has anyone had this same issue and been able to fix it? I’ve been working on it all week and couldn’t find a fix
-I am using the wire.h and wire.cpp files from https://github.com/redbear/nRF5x/tree/master/nRF52832/arduino/arduino-1.8.0/hardware/RBL/RBL_nRF52832/libraries/Wire but this didn’t fix anything either.
-The i2c scanner works on the flora arduino I have
UPDATE!! I tried a new nano and it now works…so maybe some devices are just defective for i2c, because I was using those same SCL and SDA pins for GPIO previously and it works fine for that, so it’s not like those pins were fried.