   KHz = 1000;
   PlanckTime = 299792458;
   Cmult = 1.5;
-  valueC = PlanckTime / ( tuningFreqCalc * KHz ) * Cmult;
+  valueC = PlanckTime / ( tuningFreqCalc * KHz ) * Cmult + valueCorr;
   Serial.print("Value C pF=");
   Serial.println(valueC);
 }

	valueRotateC = valueRotateC + diff;
	mechSetPosition(round (valueRotateL), round (valueRotateC));
}
void LtoCCW() {                                   // when L pressed - moves motor L 1 step CCW and displays left arrows
  TFTscreen.stroke(255, 255, 0);
  TFTscreen.setTextSize(1);

void calculateL () {                            // Calculate "L" value from formula L=((1/(2*π*f*C))/(2*π*f))*1000000000000 (where f in KHz and C in pF)
  pi = 3.14159;
  Lmult = 1000000000000;
  valueL = ((1 / (2 * pi * tuningFreqCalc * valueC)) / (2 * pi * tuningFreqCalc)) * Lmult + valueLcorr;
  Serial.print("Value L uH=");
  Serial.println(valueL);
}
