       EEPROM.put(eeAddressStart+buttons*sizeof(double),freq);
       strcpy(statusLine,"m");
       statusLine[1] = '0' + buttons; 
-      statusLine[2] = 0; // so that next bit gets add on here
+      statusLine[2] = 0; // so that next bit gets added on here
       strcat(statusLine," stored");
       update_status();
       } else {

double freqDelta = 10000; // how much to change the frequency by, clicking the rotary encoder will change this.

byte counter = 0;
long lastClick = 0;
long lastBlink = 0;
boolean blinkState = false;

long lastStatus = 0;
boolean statusDisplayed = false;

boolean mem_armed[NUMBER_MEM_BUTTONS];
long last_mem[NUMBER_MEM_BUTTONS];

int eeAddressStart = 0;

char statusLine[21];

// Connect via i2c, default address #1 (nothing jumpered)
Adafruit_LiquidCrystal lcd(0);

// subroutine to blank a display line
void clear_line(byte lineNumber) {
  lcd.noBlink();
  lcd.setCursor(0,lineNumber);

  lcd.print("0 MHz");
}  

// Generate a positive pulse on 'pin'...
void pulseHigh(int pin) {
  digitalWrite(pin, HIGH); 
  digitalWrite(pin, LOW); 
}

// Calculate and send frequency code to DDS Module...
void send_frequency(double frequency) {
  int32_t freq = (frequency) * 4294967295/124997797;
  for (int b=0; b<4; b++, freq>>=8) {
