 
 void loop(void)
 {
-/*
+  /*
   // MicroView
-  // TEXT Font 0
-  uView.clear(PAGE);
-  uView.setCursor(0,40);
-  uView.print("  Font 0  ");    
-  uView.display();
-
-  uView.setFontType(0);
-  uView.setCursor(0,0);
-  uView.print("01234567890ABCDabcd01234567890ABCDabcd");
-  uView.display();
-  delay(1500);
-
-
-  // TEXT Font 1
-  uView.clear(PAGE);
-  uView.setCursor(0,40);
-  uView.print("  Font 1  ");    
-  uView.display();
-
-  uView.setFontType(1);
-  uView.setCursor(0,0);
-  uView.print("0123ABCDabcd");
-  uView.display();
-  delay(1500);
-  uView.clear(PAGE);
-*/
+   // TEXT Font 0
+   uView.clear(PAGE);
+   uView.setCursor(0,40);
+   uView.print("  Font 0  ");    
+   uView.display();
+   
+   uView.setFontType(0);
+   uView.setCursor(0,0);
+   uView.print("01234567890ABCDabcd01234567890ABCDabcd");
+   uView.display();
+   delay(1500);
+   
+   
+   // TEXT Font 1
+   uView.clear(PAGE);
+   uView.setCursor(0,40);
+   uView.print("  Font 1  ");    
+   uView.display();
+   
+   uView.setFontType(1);
+   uView.setCursor(0,0);
+   uView.print("0123ABCDabcd");
+   uView.display();
+   delay(1500);
+   uView.clear(PAGE);
+   */
 
   /* Get a new sensor event */
   sensors_event_t event;

  if(!bno.begin())
  {
    uView.clear(PAGE);
    /* There was a problem detecting the BNO055 ... check your connections */
    //Serial.print("Ooops, no BNO055 detected ... Check your wiring or I2C ADDR!");
    uView.print("Ooops, no BNO055 detected!");
    uView.display();

    while(1);

{
  sensor_t sensor;
  bno.getSensor(&sensor);
  char buffer[7];         //the ASCII of the integer will be stored in this char array

  uView.clear(PAGE);

  //Serial.print  ("Sensor:       "); 
  uView.setCursor(0, 0*fontHeight);
  uView.print(sensor.name);

  //Serial.print  ("Driver Ver:   "); 
  uView.setCursor(0, 1*fontHeight);
  uView.print("Version: ");
  itoa(sensor.version, buffer, 10);
  uView.print(buffer);

  //Serial.print  ("Unique ID:    ");
  uView.setCursor(0, 2*fontHeight);
  uView.print("ID: ");
  itoa(sensor.sensor_id, buffer, 10);
  uView.print(buffer);

  //Serial.print  ("Max Value:    "); 
  Serial.print(sensor.max_value); 
  //Serial.println(" xxx");
  Serial.print  ("Min Value:    "); 
  Serial.print(sensor.min_value); 
  //Serial.println(" xxx");
  Serial.print  ("Resolution:   "); 
  Serial.print(sensor.resolution); 
  //Serial.println(" xxx");
  //Serial.println("------------------------------------");
  //Serial.println("");

  uView.display();

  delay(500);
}

