   }
     
  // start on M1 freq
-  EEPROM.get(eeAddressStart,freq);
+  EEPROM.get(EE_ADDRESS_START,freq);
   if(freq < bandStart || freq > bandEnd) {
     freq = bandInit;
-    EEPROM.put(eeAddressStart,freq);
+    EEPROM.put(EE_ADDRESS_START,freq);
   }
   
  // start up the DDS... 

#define MEM_BUTTON_START_PIN  10  // digital pin where mem buttons start
#define NUMBER_MEM_BUTTONS    2  // how many mem buttons

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

double freq = 0 ;  // this is a variable (changes) - set it to the beginning of the band
double freqDelta = 10000; // how much to change the frequency by, clicking the rotary encoder will change this.

byte spinDirection = 0; // rotary encoder spun ccw (-1), cw (1), or no change (0)

long lastClick = 0;
long lastStatus = 0;

boolean statusDisplayed = false;

int eeAddressStart = 0;
int threshold = 0;

char statusLine[21];

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

      update_status();
      } else {
      // short push = qsy to memory frequency
      EEPROM.get(EE_ADDRESS_START + buttons*sizeof(double),freq);
      strcpy(statusLine,"recall m"); 
      statusLine[8] = '0' + buttons; 
      statusLine[9] = 0; 
