Revision 1da09ad2

View differences:

Adafruit_BNO055.h
279 279
      VECTOR_GRAVITY       = BNO055_GRAVITY_DATA_X_LSB_ADDR
280 280
    } adafruit_vector_type_t;
281 281

  
282
#ifdef ARDUINO_SAMD_ZERO
283
#error "On an arduino Zero, BNO055's ADR pin must be high. Fix that, then delete this line."
284
    Adafruit_BNO055 ( int32_t sensorID = -1, uint8_t address = BNO055_ADDRESS_B );
285
#else
282 286
    Adafruit_BNO055 ( int32_t sensorID = -1, uint8_t address = BNO055_ADDRESS_A );
283

  
287
#endif
284 288
    bool  begin               ( adafruit_bno055_opmode_t mode = OPERATION_MODE_NDOF );
285 289
    void  setMode             ( adafruit_bno055_opmode_t mode );
286 290
    void  getRevInfo          ( adafruit_bno055_rev_info_t* );
README.md
3 3
This driver is for the Adafruit BNO055 Breakout (http://www.adafruit.com/products/2472),
4 4
and is based on Adafruit's Unified Sensor Library (Adafruit_Sensor).
5 5

  
6
To work with the Arduino Zero, the BNO055's ADR pin must be high, and an "#error" must be removed from the .h file.
7

  
6 8
## What is the Adafruit Unified Sensor Library? ##
7 9

  
8 10
The Adafruit Unified Sensor Library ([Adafruit_Sensor](https://github.com/adafruit/Adafruit_Sensor)) provides a common interface and data type for any supported sensor.  It defines some basic information about the sensor (sensor limits, etc.), and returns standard SI units of a specific type and scale for each supported sensor type.

Also available in: Unified diff