Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    Use a i2c scanner playground.arduino.cc/Main/I2cScanner That is the i2c address that you should use. Try to read a status register. According to the datasheet, at startup the sensors are turned off and they will return zero. Commented Oct 23, 2017 at 17:10
  • Thanks for feedback! I've read the STATUS0 and it gives me 255 Commented Oct 25, 2017 at 15:09
  • Reading STATUS0 seems to start something. What happens when you read the WHO_AM_I register ? How do you read it ? Perhaps a Wire.read() into a byte ? The Wire.read() returns -1 if there is no communication with the sensor, that -1 might turn into 255. Did you run the i2c scanner ? Commented Oct 25, 2017 at 16:18