Revision 78cc710f

View differences:

Adafruit_BNO055.cpp
57 57
  /* Enable I2C */
58 58
  Wire.begin();
59 59

  
60
  // BNO055 clock stretches for 500us or more!
61
#ifdef ESP8266
62
  Wire.setClockStretchLimit(1000); // Allow for 1000us of clock stretching
63
#endif
64

  
60 65
  /* Make sure we have the right device */
61 66
  uint8_t id = read8(BNO055_CHIP_ID_ADDR);
62 67
  if(id != BNO055_ID)

Also available in: Unified diff