   Serial.println(pFtotalValue);
   float pFperStep = pFtotalValue / ( totalStepsC / 2 );
   Serial.println(pFperStep);
-  float valueRotateC = ( valueC - pFmin ) / pFperStep;
+  valueRotateC = ( valueC - pFmin ) / pFperStep;
   Serial.print("steps C to rotate=");
   Serial.println(valueRotateC);
 }

        case '*':                           // erase entered frequency
          eraseFrequency();
          break;
        case 'K':                           // calibrate both motors
          calibrateMotors();
          break;
      }
  }
}

  displayC(), displayL();                           // display current values L and C at display
  tuningDisplay();                                  // flashing tuning - this to be changed to start at CmoveStage1 and finish after LmoveStage1
  displayTunedFreqTopScreen();                      // emulation of Green Tuned after motors in place
  mechSetPosition(round (valueRotateL), round (valueRotateC));
  // End STAGE 1 tuning process
}

