   /* Get the four calibration values (0..3) */
   /* Any sensor data reporting 0 should be ignored, */
   /* 3 means 'fully calibrated" */
-  system = gyro = accel = mag = 0;
-
   bno.getCalibration(&system, &gyro, &accel, &mag);
 }
 

#define BNO055_SAMPLERATE_DELAY_MS (100)

// stores the callibration status data
uint8_t system, gyro, accel, mag;


Adafruit_BNO055 bno = Adafruit_BNO055(55);

  uView.setCursor(0, 0*fontHeight);
  uView.print("9DOF Live!");

  //uView.setCursor(0, 1*fontHeight);
  //uView.print("----------");

  uView.setCursor(0, 1*fontHeight);
  uView.print("X:");
  uView.print(event.orientation.x, 4);

  uView.setCursor(0, 2*fontHeight);
  uView.print("Y:");
  uView.print(event.orientation.y, 4);

  uView.setCursor(0, 3*fontHeight);
  uView.print("Z:");
  uView.print(event.orientation.z, 4);

  // check callibration
  getCalStatus();

  uView.setCursor(0, 4*fontHeight);
  uView.print("System: ");
  uView.print(system);

  uView.display();


