  // y = -0.0299x2 + 1.3867x + 0.5894
  float totalStepsL = 2964;                                                              // total motor steps for 1 rotation
  float LturnsRequred = ( -0.0299 * valueL * valueL ) + ( 1.3867 * valueL ) + 0.5894;    // poly math
- float valueRotateL = LturnsRequred * totalStepsL;
+ valueRotateL = LturnsRequred * totalStepsL;
  Serial.print("L turns requred=");
  Serial.println(LturnsRequred);
  Serial.print("steps L to rotate=");

float valueL = 0;           // calculated value L float
float Cmult;                // constant multiplier to calculate C value
float Lmult;                // constant multiplier to calculate L value

boolean presentValue = false;


        case '*':                           // erase entered frequency
          eraseFrequency();
          break;
        case 'U':                           // calibrate both motors
          mechCalibrate(channelC);
          break;
        case 'D':                           // calibrate both motors
          mechCalibrate(channelL);
          break;
          
      }
  }
}
