 #define LCD_PIN 5
 #define LED_PIN 13
 #define BLINK_DELAY 75
+#define BAUD_RATE 9600
+
+#define LOOP_DELAY 50
 
 serLCD lcd(LCD_PIN);
 
 void setup() {
-  delay(2000);
-
-  Serial.begin(9600);
-  Serial.println("hello world");
-
-  for (int i = 0; i < 4; i++) {
-    blink();
-  }
-
-  delay(1000);
+  delay(250);
+  Serial.begin(BAUD_RATE);
+  /*displayBanner();*/
 }
 
 String str = "";


void loop() {
  ledOff();
  Serial.print("fa;");

  // wait for FA00000000000;
  while (Serial.available() > 0) {

    }
  }

  delay(LOOP_DELAY);
}

void displayBanner() {
  lcd.clear();
  lcd.setCursor(1,1);
  lcd.print("KX3");

  for (int i = 0; i < 4; i++) {
    blink();
  }
}

void displayFrequency(String msg) {
  lcd.setCursor(2, 7);
  lcd.print(formatFrequency(msg));
}

String formatFrequency(String vfo) {
  String freq = "";

  // e.g. convert '07' to '7'
  freq += String(vfo.substring(5, 7).toInt());

  freq += ".";
  freq += vfo.substring(7, 10);
  freq += ".";
  freq += vfo.substring(10, 13);

  return freq;
}

void ledOn() {
