Revision 5d8d461e Adafruit_BNO055.h

View differences:

Adafruit_BNO055.h
1 1
/*!
2
 *  @file Adafruit_BNO055.h
2 3
 *
3
 *  This is a library for the BNO055 orientation sensor
4
 *    This is a library for the BNO055 orientation sensor
4 5
 *
5
 *  Designed specifically to work with the Adafruit BNO055 Breakout.
6
 *    Designed specifically to work with the Adafruit BNO055 Breakout.
6 7
 *
7
 *  Pick one up today in the adafruit shop!
8
 *  ------> https://www.adafruit.com/product/2472
8
 *    Pick one up today in the adafruit shop!
9
 *    ------> https://www.adafruit.com/product/2472
9 10
 *
10
 *  These sensors use I2C to communicate, 2 pins are required to interface.
11
 *    These sensors use I2C to communicate, 2 pins are required to interface.
11 12
 *
12
 *  Adafruit invests time and resources providing this open source code,
13
 *  please support Adafruit andopen-source hardware by purchasing products
14
 *  from Adafruit!
13
 *    Adafruit invests time and resources providing this open source code,
14
 *    please support Adafruit andopen-source hardware by purchasing products
15
 *    from Adafruit!
15 16
 *
16
 *  Written by KTOWN for Adafruit Industries.
17
 *    K.Townsend (Adafruit Industries)*
17 18
 *
18
 *  MIT license, all text above must be included in any redistribution
19
 *    MIT license, all text above must be included in any redistribution
19 20
 */
20 21

  
21 22
#ifndef __ADAFRUIT_BNO055_H__
......
37 38
#include <Adafruit_Sensor.h>
38 39
#include <utility/imumaths.h>
39 40

  
41
/** BNO055 Address A **/
40 42
#define BNO055_ADDRESS_A (0x28)
43
/** BNO055 Address B **/
41 44
#define BNO055_ADDRESS_B (0x29)
45
/** BNO055 ID **/
42 46
#define BNO055_ID (0xA0)
43 47

  
48
/** Offsets registers **/
44 49
#define NUM_BNO055_OFFSET_REGISTERS (22)
45 50

  
46 51
/** A structure to represent offsets **/

Also available in: Unified diff