   keypad.addEventListener(keypadEvent);             //add an event listener for this keypad
 }
 
-//void SetFrequencyStage1() {
-// STAGE 1 tuning process
-//	calculateC();                                     // calculate C value at selected frequency
-//	calculateStepsC();                                // calculate steps needed to move C to value C
-//	CmoveStage1();                                    // send command to nano to move motor "C" to C step value
-//	calculateL();                                     // calculate L value at given frequency and C value
-//	calculateStepsL();                                // calculate steps needed to move C to value L
-//	LmoveStage1();                                    // send command to nano to move motor "L" to L step value
-//	EraseDisplayC1(), EraseDisplayL();                 // clear previous values L and C at display
-//	displayC1(), displayL();                           // display current values L and C at display
-//	mechSetPosition(round (valueRotateL), round (valueRotateC1), round (valueRotateC2));
-// End STAGE 1 tuning process
-//}
-
-// Pre-STAGE 1 (coarse tuning process) cleanups and displays - will be used later
-//void SetFrequency() {                               // when # pressed - sets frequency value at the bottom of the screen
-//  eraseFreqTopScreen();                             // clear previously entered drequesncy at display top
-//  eraseEnteredFrequency();                          // clear entered frequency at display bottom
-//  displayFreqTopScreen();                           // display desired frequesncy at display top
-//  SetFrequencyStage1();
-//}
-
 
 void incL(float diff) {                             // rotate motor L with number of steps
   mechSetPosition(round (diff), 0, 0);


boolean presentValue = false;

String EnteredFreqString, TuningFreqString;
String DisplayValueLstring;

int i;

  ErasDisplayValueC2pF();
}

void sendStatusRequest() {
  static const unsigned long REFRESH_INTERVAL = 100; // ms
  static unsigned long lastRefreshTime = 0;
