 #define DATAPIN 6
 #define RESET 7
 
+// set up memory push buttons
+#define M1Sw 8
+#define M2Sw 9
+
 const double bandStart = 100000;  // start of Gnerator at 100 KHZ
 const double bandEnd = 40000000; // End of Generator at 40 MHz --signal will be a bit flaky!
 const double bandInit = 7150000; // where to initially set the frequency for tetsting Part II

    lastBlink = millis();
  }
  
}

// subroutine to display the frequency...

  attachInterrupt(0, evaluateRotary, CHANGE);
  attachInterrupt(1, evaluateRotary, CHANGE);
  pinMode(RotEncSwPin, INPUT_PULLUP);
  
  // Set up memory buttons
  pinMode(M1Sw, INPUT_PULLUP);
  pinMode(M2Sw, INPUT_PULLUP);
  
 // start up the DDS... 
  pulseHigh(RESET);
