I have this working on an Arduino Uno using this library ( https://github.com/millerlp/MS5803_14 ) and have tried to use it on the Spark (with a couple of modifications, namely change D1 and D2 references to Z1 and Z2 to get around naming conflicts) but I just can’t get the Spark to talk to the sensor.
The sparkfun board has pull up resistors on it, and I’ve also tried with external 10k pull up resistors. Regardless of what I do the Wire.endTransmission(); call always returns a 4 (other error).
I’m sure I’m missing something simple, but it’s late and my brain stopped working a while ago so any advice / things to test would be greatly appreciated.
Near the top of the setup() function, so that they’re called before any library Wire.begin() calls and it now looks like I am getting results (well I’m getting data back anyway, and the “4” errors have stopped). Hopefully these lines won’t stop the other I2C sensors from operating, but I’ll be able to fully test that later.