-
• #2
It looks like D28 and D29 are already used for SPI for the onboard sensors: http://www.espruino.com/modules/Ruuvitag.js
So setting them to I2C is likely to mess things up. Are there any other pins you think you could get to?
-
• #3
Oh i did not think to check that. I just assumed the external pads were free. Easy to swap over.
I have attached a SI7055 temperature sensor to a Ruuvitag as I need 2x temperature sensors for an application. My simple test app is below . If I call readBmpTemp() I get a correct temperature. If I then call read7055Temp() - the first time I get an I2C arbitration error and then the second call works. If I switch back to readBmpTemp() the first reading is incorrect etc
Is there something I have setup wrong ?