 /*
   TFT Display 128x128 16bit color ST7735 Chipset
-
+  https://www.jaycar.com.au/128x128-lcd-screen-module-for-arduino/p/XC4629
+  
   TFT display pinout left to right pins up
   VCC GND GND NC NC LED CLK SDI RS RST CS
 

  tft.drawString("pF", 117, 112, 2);
  

  keypad.addEventListener(keypadEvent);             //add an event listener for this keypad
}


void incL(float diff) {                             // rotate motor L with number of steps
  mechSetPosition(round (diff), 0, 0);
}

void incC1(float diff) {                            // rotate motor C1 Cold with number of steps
  mechSetPosition(0, round(diff), 0);
}

void incC2(float diff) {                            // rotate motor C2 Hot with number of steps
  mechSetPosition(0, 0, round(diff));
}

void displaySWRvalue() {                                    // process to display SWR values
  EraseDisplaySWR();
  displaySWR();
}

void displaySWR() {                                         // display SWR values
  dtostrf(valueSWR, 5, 2, DisplayValueSWR);
  tft.setTextColor(TFT_GREEN);
  tft.setTextSize(1);
  tft.drawString(DisplayValueSWR, 50, 5, 4);
}

void EraseDisplaySWR() {                                   // erase display SWR values
  tft.setTextColor(TFT_BLACK);
  tft.setTextSize(1);
  tft.drawString(DisplayValueSWR, 50, 5, 4);
}

double stepsToUH(double x) {
   return  3.2984940709870936e-001 * pow(x,0)
        +  2.5621377247607574e-005 * pow(x,1)
        +  7.3269703268229895e-009 * pow(x,2)

  tft.drawString(DisplayValueC1pF, 50, 75, 4);
}

void ErasDisplayValueC1pF() {                                     // erase display C1 values in pF
  tft.setTextColor(TFT_BLACK);
  tft.setTextSize(1);
  tft.drawString(DisplayValueC1pF, 50, 75, 4);
}

void displayC1steps() {                                            // display C1 steps values
  dtostrf(valueRotateC1, 5, 0, DisplayValueC1);
  if (isBusy) {
    tft.setTextColor(TFT_YELLOW);
