         case 'U':                           // "L" motor move 100 step CW
           incL(+10.0);
           break;
-///        case '*':                           // erase entered frequency
-//          eraseFrequency();
-//          break;
+        ///        case '*':                           // erase entered frequency
+        //          eraseFrequency();
+        //          break;
         case 'S':                           // erase entered frequency
           mechAutoTune();
           break;

  TFTscreen.text(DisplayValueSWR, 40, 5);
}

void displayLSteps() {                                         // display L steps values
  dtostrf(valueRotateL, 5, 0, DisplayValueL);
  if (isBusy) {
    TFTscreen.stroke(255, 255, 0);
  } else {
    TFTscreen.stroke(0, 255, 0);
  }
  TFTscreen.setTextSize(1);
  TFTscreen.text(DisplayValueL, 55, 42);
}

void EraseDisplayLSteps() {                                   // erase display L steps values
  TFTscreen.stroke(0, 20, 30);
  TFTscreen.setTextSize(1);
  TFTscreen.text(DisplayValueL, 55, 42);
}

void displayValueLuH() {                                         // display L values in uH
  dtostrf(stepsToMh(valueRotateL), 4, 2, DisplayValueLUH);
  if (isBusy) {
    TFTscreen.stroke(255, 255, 0);
  } else {
    TFTscreen.stroke(0, 255, 0);
  }
  TFTscreen.setTextSize(2);
  TFTscreen.text(DisplayValueLUH, 40, 25);
}

void ErasDisplayValueLuH() {                                   // erase display L values in uH
  TFTscreen.stroke(0, 20, 30);
  TFTscreen.setTextSize(2);
  TFTscreen.text(DisplayValueLUH, 40, 25);
}

void displayL() {                                             // display L steps and uH
  displayLSteps();
  displayValueLuH();
}

void EraseDisplayL() {                                        // erase L steps and uH
  EraseDisplayLSteps();
  ErasDisplayValueLuH();
}

 double stepsC1topF(double x) {
   return  3.5215908593183684e+002 * pow(x,0)
        + -1.6245967367326516e-001 * pow(x,1)
        + -8.9757122524750620e-004 * pow(x,2)
        +  5.3372752892602197e-006 * pow(x,3)
        + -1.7696527557016530e-008 * pow(x,4)
        +  3.3363571963309934e-011 * pow(x,5)
        + -3.6438105893235793e-014 * pow(x,6)
        +  2.2733846666230038e-017 * pow(x,7)
        + -7.5016703085658784e-021 * pow(x,8)
        +  1.0154127876671653e-024 * pow(x,9);
}

void displayC1steps() {                                       // display C1 steps values
  dtostrf(valueRotateC1, 5, 0, DisplayValueC1);
  if (isBusy) {
    TFTscreen.stroke(255, 255, 0);
  } else {
    TFTscreen.stroke(0, 255, 0);
  }
  TFTscreen.setTextSize(1);
  TFTscreen.text(DisplayValueC1, 55, 72);
}

void EraseDisplayC1steps() {                                   // erase display C1 steps values
  TFTscreen.stroke(0, 20, 20);
  TFTscreen.setTextSize(1);
  TFTscreen.text(DisplayValueC1, 55, 72);
}

void displayValueC1pF() {                                         // display C1 values in pF
  dtostrf(stepsC1topF(valueRotateC1), 4, 1, DisplayValueC1pF);
  if (isBusy) {
    TFTscreen.stroke(255, 255, 0);
  } else {
    TFTscreen.stroke(0, 255, 0);
  }
  TFTscreen.setTextSize(2);
  TFTscreen.text(DisplayValueC1pF, 40, 55);
}

void ErasDisplayValueC1pF() {                                   // erase display C1 values in pF
  TFTscreen.stroke(0, 20, 30);
  TFTscreen.setTextSize(2);
  TFTscreen.text(DisplayValueC1pF, 40, 55);
}

void displayC1() {                                             // display C1 values
  displayC1steps();
  displayValueC1pF();
}

void EraseDisplayC1() {                                        // erase C1 values
  EraseDisplayC1steps();
  ErasDisplayValueC1pF();
}

 double stepsC2topF(double x) {
   return  3.5215908593183684e+002 * pow(x,0)
        + -1.6245967367326516e-001 * pow(x,1)
        + -8.9757122524750620e-004 * pow(x,2)
        +  5.3372752892602197e-006 * pow(x,3)
        + -1.7696527557016530e-008 * pow(x,4)
        +  3.3363571963309934e-011 * pow(x,5)
        + -3.6438105893235793e-014 * pow(x,6)
        +  2.2733846666230038e-017 * pow(x,7)
        + -7.5016703085658784e-021 * pow(x,8)
        +  1.0154127876671653e-024 * pow(x,9);
}

void displayC2steps() {                                       // display C2 steps values
  dtostrf(valueRotateC2, 5, 0, DisplayValueC2);
  if (isBusy) {
    TFTscreen.stroke(255, 255, 0);
  } else {
    TFTscreen.stroke(0, 255, 0);
  }
  TFTscreen.setTextSize(1);
  TFTscreen.text(DisplayValueC2, 55, 102);
}

void EraseDisplayC2steps() {                                   // erase display C2 steps values
  TFTscreen.stroke(0, 20, 20);
  TFTscreen.setTextSize(1);
  TFTscreen.text(DisplayValueC2, 55, 102);
}

void displayValueC2pF() {                                         // display C2 values in pF
  dtostrf(stepsC2topF(valueRotateC2), 4, 1, DisplayValueC2pF);
  if (isBusy) {
    TFTscreen.stroke(255, 255, 0);
  } else {
    TFTscreen.stroke(0, 255, 0);
  }
  TFTscreen.setTextSize(2);
  TFTscreen.text(DisplayValueC2pF, 40, 85);
}

void ErasDisplayValueC2pF() {                                   // erase display C1 values in pF
  TFTscreen.stroke(0, 20, 30);
  TFTscreen.setTextSize(2);
  TFTscreen.text(DisplayValueC2pF, 40, 85);
}

void displayC2() {                                             // display C1 values
  displayC2steps();
  displayValueC2pF();
}

void EraseDisplayC2() {                                        // erase C1 values
  EraseDisplayC2steps();
  ErasDisplayValueC2pF();
}


//void displayC2() {                                       // display C2 steps values
//  dtostrf(valueRotateC2, 5, 0, DisplayValueC2);
//  if (isBusy) {
//    TFTscreen.stroke(255, 255, 0);
//  } else {
//    TFTscreen.stroke(0, 255, 0);
//  }
//  TFTscreen.setTextSize(2);
//  TFTscreen.text(DisplayValueC2, 40, 85);
//}

//void EraseDisplayC2() {                                   // erase display C2 steps values
//  TFTscreen.stroke(0, 20, 20);
//  TFTscreen.setTextSize(2);
//  TFTscreen.text(DisplayValueC2, 40, 85);
//}

double stepsToMh(float x) {
  return  3.2408606623203362e-001 * pow(x, 0)

          +  9.4929814793314678e-054 * pow(x, 12);
}

void displayLSteps() {                                         // display L steps values
  dtostrf(valueRotateL, 5, 0, DisplayValueL);
  if (isBusy) {
    TFTscreen.stroke(255, 255, 0);
  } else {
    TFTscreen.stroke(0, 255, 0);
  }
  TFTscreen.setTextSize(1);
  TFTscreen.text(DisplayValueL, 55, 42);
}

void EraseDisplayLSteps() {                                   // erase display L steps values
  TFTscreen.stroke(0, 20, 30);
  TFTscreen.setTextSize(1);
  TFTscreen.text(DisplayValueL, 55, 42);
}

void displayValueLuH() {                                         // display L values in uH
  dtostrf(stepsToMh(valueRotateL), 4, 2, DisplayValueLUH);
  if (isBusy) {
    TFTscreen.stroke(255, 255, 0);
  } else {
    TFTscreen.stroke(0, 255, 0);
  }
  TFTscreen.setTextSize(2);
  TFTscreen.text(DisplayValueLUH, 40, 25);
}

void ErasDisplayValueLuH() {                                   // erase display L values in uH
  TFTscreen.stroke(0, 20, 30);
  TFTscreen.setTextSize(2);
  TFTscreen.text(DisplayValueLUH, 40, 25);
}

void displayL() {                                             // display L steps and uH
  displayLSteps();
  displayValueLuH();
}

void EraseDisplayL() {                                        // erase L steps and uH
  EraseDisplayLSteps();
  ErasDisplayValueLuH();
}

double stepsC1topF(double x) {
  return  3.5215908593183684e+002 * pow(x, 0)
          + -1.6245967367326516e-001 * pow(x, 1)
          + -8.9757122524750620e-004 * pow(x, 2)
          +  5.3372752892602197e-006 * pow(x, 3)
          + -1.7696527557016530e-008 * pow(x, 4)
          +  3.3363571963309934e-011 * pow(x, 5)
          + -3.6438105893235793e-014 * pow(x, 6)
          +  2.2733846666230038e-017 * pow(x, 7)
          + -7.5016703085658784e-021 * pow(x, 8)
          +  1.0154127876671653e-024 * pow(x, 9);
}

void displayC1steps() {                                       // display C1 steps values
  dtostrf(valueRotateC1, 5, 0, DisplayValueC1);
  if (isBusy) {
    TFTscreen.stroke(255, 255, 0);
  } else {
    TFTscreen.stroke(0, 255, 0);
  }
  TFTscreen.setTextSize(1);
  TFTscreen.text(DisplayValueC1, 55, 72);
}

void EraseDisplayC1steps() {                                   // erase display C1 steps values
  TFTscreen.stroke(0, 20, 20);
  TFTscreen.setTextSize(1);
  TFTscreen.text(DisplayValueC1, 55, 72);
}

void displayValueC1pF() {                                         // display C1 values in pF
  dtostrf(stepsC1topF(valueRotateC1), 4, 1, DisplayValueC1pF);
  if (isBusy) {
    TFTscreen.stroke(255, 255, 0);
  } else {
    TFTscreen.stroke(0, 255, 0);
  }
  TFTscreen.setTextSize(2);
  TFTscreen.text(DisplayValueC1pF, 40, 55);
}

void ErasDisplayValueC1pF() {                                   // erase display C1 values in pF
  TFTscreen.stroke(0, 20, 30);
  TFTscreen.setTextSize(2);
  TFTscreen.text(DisplayValueC1pF, 40, 55);
}

void displayC1() {                                             // display C1 values
  displayC1steps();
  displayValueC1pF();
}

void EraseDisplayC1() {                                        // erase C1 values
  EraseDisplayC1steps();
  ErasDisplayValueC1pF();
}

double stepsC2topF(double x) {
  return  3.5215908593183684e+002 * pow(x, 0)
          + -1.6245967367326516e-001 * pow(x, 1)
          + -8.9757122524750620e-004 * pow(x, 2)
          +  5.3372752892602197e-006 * pow(x, 3)
          + -1.7696527557016530e-008 * pow(x, 4)
          +  3.3363571963309934e-011 * pow(x, 5)
          + -3.6438105893235793e-014 * pow(x, 6)
          +  2.2733846666230038e-017 * pow(x, 7)
          + -7.5016703085658784e-021 * pow(x, 8)
          +  1.0154127876671653e-024 * pow(x, 9);
}

void displayC2steps() {                                       // display C2 steps values
  dtostrf(valueRotateC2, 5, 0, DisplayValueC2);
  if (isBusy) {
    TFTscreen.stroke(255, 255, 0);
  } else {
    TFTscreen.stroke(0, 255, 0);
  }
  TFTscreen.setTextSize(1);
  TFTscreen.text(DisplayValueC2, 55, 102);
}

void EraseDisplayC2steps() {                                   // erase display C2 steps values
  TFTscreen.stroke(0, 20, 20);
  TFTscreen.setTextSize(1);
  TFTscreen.text(DisplayValueC2, 55, 102);
}

void displayValueC2pF() {                                         // display C2 values in pF
  dtostrf(stepsC2topF(valueRotateC2), 4, 1, DisplayValueC2pF);
  if (isBusy) {
    TFTscreen.stroke(255, 255, 0);
  } else {
    TFTscreen.stroke(0, 255, 0);
  }
  TFTscreen.setTextSize(2);
  TFTscreen.text(DisplayValueC2pF, 40, 85);
}

void ErasDisplayValueC2pF() {                                   // erase display C1 values in pF
  TFTscreen.stroke(0, 20, 30);
  TFTscreen.setTextSize(2);
  TFTscreen.text(DisplayValueC2pF, 40, 85);
}

void displayC2() {                                             // display C1 values
  displayC2steps();
  displayValueC2pF();
}

void EraseDisplayC2() {                                        // erase C1 values
  EraseDisplayC2steps();
  ErasDisplayValueC2pF();
}


//void displayC2() {                                       // display C2 steps values
//  dtostrf(valueRotateC2, 5, 0, DisplayValueC2);
//  if (isBusy) {
//    TFTscreen.stroke(255, 255, 0);
//  } else {
//    TFTscreen.stroke(0, 255, 0);
//  }
//  TFTscreen.setTextSize(2);
//  TFTscreen.text(DisplayValueC2, 40, 85);
//}

//void EraseDisplayC2() {                                   // erase display C2 steps values
//  TFTscreen.stroke(0, 20, 20);
//  TFTscreen.setTextSize(2);
//  TFTscreen.text(DisplayValueC2, 40, 85);
//}

//void eraseFrequency() {                         // when * pressed - erases entered frequency bottom of the screen
//  EnteredFreqString = "";
