Revision 5565ed34

View differences:

Adafruit_BNO055.cpp
513 513
    write8(ACCEL_OFFSET_Z_LSB_ADDR, calibData[4]);
514 514
    write8(ACCEL_OFFSET_Z_MSB_ADDR, calibData[5]);
515 515

  
516
    write8(GYRO_OFFSET_X_LSB_ADDR, calibData[6]);
517
    write8(GYRO_OFFSET_X_MSB_ADDR, calibData[7]);
518
    write8(GYRO_OFFSET_Y_LSB_ADDR, calibData[8]);
519
    write8(GYRO_OFFSET_Y_MSB_ADDR, calibData[9]);
520
    write8(GYRO_OFFSET_Z_LSB_ADDR, calibData[10]);
521
    write8(GYRO_OFFSET_Z_MSB_ADDR, calibData[11]);
522

  
523
    write8(MAG_OFFSET_X_LSB_ADDR, calibData[12]);
524
    write8(MAG_OFFSET_X_MSB_ADDR, calibData[13]);
525
    write8(MAG_OFFSET_Y_LSB_ADDR, calibData[14]);
526
    write8(MAG_OFFSET_Y_MSB_ADDR, calibData[15]);
527
    write8(MAG_OFFSET_Z_LSB_ADDR, calibData[16]);
528
    write8(MAG_OFFSET_Z_MSB_ADDR, calibData[17]);
516
    write8(MAG_OFFSET_X_LSB_ADDR, calibData[6]);
517
    write8(MAG_OFFSET_X_MSB_ADDR, calibData[7]);
518
    write8(MAG_OFFSET_Y_LSB_ADDR, calibData[8]);
519
    write8(MAG_OFFSET_Y_MSB_ADDR, calibData[9]);
520
    write8(MAG_OFFSET_Z_LSB_ADDR, calibData[10]);
521
    write8(MAG_OFFSET_Z_MSB_ADDR, calibData[11]);
522

  
523
    write8(GYRO_OFFSET_X_LSB_ADDR, calibData[12]);
524
    write8(GYRO_OFFSET_X_MSB_ADDR, calibData[13]);
525
    write8(GYRO_OFFSET_Y_LSB_ADDR, calibData[14]);
526
    write8(GYRO_OFFSET_Y_MSB_ADDR, calibData[15]);
527
    write8(GYRO_OFFSET_Z_LSB_ADDR, calibData[16]);
528
    write8(GYRO_OFFSET_Z_MSB_ADDR, calibData[17]);
529 529

  
530 530
    write8(ACCEL_RADIUS_LSB_ADDR, calibData[18]);
531 531
    write8(ACCEL_RADIUS_MSB_ADDR, calibData[19]);
Adafruit_BNO055.h
47 47
    int16_t accel_offset_x;
48 48
    int16_t accel_offset_y;
49 49
    int16_t accel_offset_z;
50
    int16_t gyro_offset_x;
51
    int16_t gyro_offset_y;
52
    int16_t gyro_offset_z;
53 50
    int16_t mag_offset_x;
54 51
    int16_t mag_offset_y;
55 52
    int16_t mag_offset_z;
53
    int16_t gyro_offset_x;
54
    int16_t gyro_offset_y;
55
    int16_t gyro_offset_z;
56 56

  
57 57
    int16_t accel_radius;
58 58
    int16_t mag_radius;
library.properties
1 1
name=Adafruit BNO055
2
version=1.1.4
2
version=1.1.5
3 3
author=Adafruit <info@adafruit.com>
4 4
maintainer=Adafruit <info@adafruit.com>
5 5
sentence=Library for the Adafruit BNO055 Absolute Orientation Sensor.

Also available in: Unified diff