 long lastBlink = 0;
 boolean blinkState = false;
 
+long lastStatus = 0;
+
 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();
+  for (int pos=0; pos < 20; pos++){
+    lcd.setCursor(pos,lineNumber);
+    lcd.print(" ");
+  }
+}
+
+// subroutine to update status line
+void update_status() {
+  clear_line(1);
+  lcd.setCursor(0,1);
+  lcd.print(statusLine);
+}
 
 // subroutine to display the frequency...
 void display_frequency(double frequency) {  

/*

DDS code based on Pete Juliano's super simple DDS code
http://www.jessystems.com/Images/Arduino/AD9850_Signal_Generator.txt

Rotary Encoder code based on my ATmega328 port
http://blog.templaro.com/reading-a-rotary-encoder-demo-code-for-atmega328/


void setup() {
  lcd.begin(16,2);
  strcpy(statusLine,"5R8SV SIG GEN");
  update_status();
  
  // Set up DDS
  pinMode(FQ_UD, OUTPUT);
