Revision e223568a

View differences:

Adafruit_BNO055.cpp
415 415
    xyz[2] = ((double)z) / 16.0;
416 416
    break;
417 417
  case VECTOR_ACCELEROMETER:
418
    /* 1m/s^2 = 100 LSB */
419
    xyz[0] = ((double)x) / 100.0;
420
    xyz[1] = ((double)y) / 100.0;
421
    xyz[2] = ((double)z) / 100.0;
422
    break;
418 423
  case VECTOR_LINEARACCEL:
424
    /* 1m/s^2 = 100 LSB */
425
    xyz[0] = ((double)x) / 100.0;
426
    xyz[1] = ((double)y) / 100.0;
427
    xyz[2] = ((double)z) / 100.0;
428
    break;
419 429
  case VECTOR_GRAVITY:
420 430
    /* 1m/s^2 = 100 LSB */
421 431
    xyz[0] = ((double)x) / 100.0;

Also available in: Unified diff