 
   xv_config.motor_enable = true;
   xv_config.raw_data = true;
+  xv_config.show_dist = false;
+  xv_config.show_rpm = false;
+  xv_config.show_angle = 360;
+
   EEPROM_writeAnything(0, xv_config);
 }
 

      dist =  data0 | (( inByte & 0x3F) << 8);
    }
    break;
    
  case 14:
    data2 = inByte; // first half of quality data
    break;
    
  case 15:
    quality = (inByte << 8) | data2; 
    if (debug_dist) {
      if (debug_angle == 360 or debug_angle == angle) {
        Serial.print(angle);
        Serial.print(": ");
        Serial.print(int(dist));
        Serial.print(" (");
        Serial.print(quality);
        Serial.println(")");
      }
    }
    angle++;    
    break;
    
  case 16:
    data0 = inByte;
    break;
    
  case 17:
    if ((inByte & 0x80) >> 7) {  // check for Invalid Flag
      dist = 0;

      dist =  data0 | (( inByte & 0x3F) << 8);
    }
    break;

  case 10:
    data2 = inByte; // first half of quality data
    break;

  case 11:
    quality = (inByte << 8) | data2; 
    if (xv_config.show_dist) {
      if (xv_config.show_angle == 360 or xv_config.show_angle == angle) {
        Serial.print(angle);
        Serial.print(F(": "));
        Serial.print(int(dist));
        Serial.print(F(" ("));
        Serial.print(quality);
        Serial.println(F(")"));
      }
    }
    angle++;    
    break;

  case 12:
    data0 = inByte;
    break;

  case 13:
    if ((inByte & 0x80) >> 7) {  // check for Invalid Flag
      dist = 0;
