   Serial.print(getIError());
   Serial.print(",");
   Serial.print(getBattery(VFinal), 2);
+  Serial.print(",");
+  Serial.print(getBatteryFitted(VFinal), 2);
   Serial.print("\n");
 }
 

  }
}

// coumpute battery percentage
double getBattery(double VFinal) {
    int i;

long samples = 0;

// magic string
const char MAGIC[] = "EnerginoAbs";
const int REVISION = 1;

void reset() {
