     lastClick = millis();
   }
   
-  //blink the cursor to show selected frequency resolution
-  if (millis() - lastBlink > 300) {
-    freqCursorPosition = 8;
-    for (long tempDelta = 10; tempDelta/freqDelta != 1; tempDelta *= 10) {
-      freqCursorPosition--;
-      if (freqCursorPosition == 2 || freqCursorPosition == 6) {  //hop the punctuation
-        freqCursorPosition--;
-      }
-    }
-    lcd.setCursor(freqCursorPosition,0);
-    lcd.blink();
-    
-    /*
-      lcd.noBlink();
-    } else {
-      lcd.blink();
-    }
-    
-    
-    */
-    lastBlink = millis();
-  }
-  
-
+  blinkCursor();
   handleMemoryButtons();
   checkOutputLevel();
   wipeStaleStatus();

  if (statusDisplayed && millis() - lastStatus > 2000) {
    clear_line(1);
    statusDisplayed = false;
  }
}


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

long lastClick = 0;
long lastStatus = 0;

boolean statusDisplayed = false;
