|
Adafruit BNO055 Library
|
#include "Arduino.h"#include "utility/imumaths.h"#include <Adafruit_I2CDevice.h>#include <Adafruit_Sensor.h>Go to the source code of this file.
Classes | |
| struct | adafruit_bno055_offsets_t |
| class | Adafruit_BNO055 |
| Class that stores state and functions for interacting with BNO055 Sensor. More... | |
| struct | Adafruit_BNO055::adafruit_bno055_rev_info_t |
Macros | |
| #define | BNO055_ADDRESS_A (0x28) |
| #define | BNO055_ADDRESS_B (0x29) |
| #define | BNO055_ID (0xA0) |
| #define | NUM_BNO055_OFFSET_REGISTERS (22) |
Enumerations | |
| enum | adafruit_bno055_opmode_t { OPERATION_MODE_CONFIG = 0X00, OPERATION_MODE_ACCONLY = 0X01, OPERATION_MODE_MAGONLY = 0X02, OPERATION_MODE_GYRONLY = 0X03, OPERATION_MODE_ACCMAG = 0X04, OPERATION_MODE_ACCGYRO = 0X05, OPERATION_MODE_MAGGYRO = 0X06, OPERATION_MODE_AMG = 0X07, OPERATION_MODE_IMUPLUS = 0X08, OPERATION_MODE_COMPASS = 0X09, OPERATION_MODE_M4G = 0X0A, OPERATION_MODE_NDOF_FMC_OFF = 0X0B, OPERATION_MODE_NDOF = 0X0C } |
This is a library for the BNO055 orientation sensor
Designed specifically to work with the Adafruit BNO055 Breakout.
Pick one up today in the adafruit shop! ---—> https://www.adafruit.com/product/2472
These sensors use I2C to communicate, 2 pins are required to interface.
Adafruit invests time and resources providing this open source code, please support Adafruit andopen-source hardware by purchasing products from Adafruit!
K.Townsend (Adafruit Industries)
MIT license, all text above must be included in any redistribution
| #define BNO055_ADDRESS_A (0x28) |
BNO055 Address A
| #define BNO055_ADDRESS_B (0x29) |
BNO055 Address B
| #define BNO055_ID (0xA0) |
BNO055 ID
| #define NUM_BNO055_OFFSET_REGISTERS (22) |
Offsets registers
Operation mode settings
1.8.13