 void loop() {
 
   static bool first = true;
-  static unsigned long loop_init = millis();
+  static unsigned long loop_counter = millis();
+  static unsigned long lcd_counter = millis();
+  
+#ifdef DEBUG_SWITCH
   static bool left_switch = (bool)digitalRead(kLEFT_SWITCH);
+  static bool middle_switch = (bool)digitalRead(kMIDDLE_SWITCH);
+  static bool right_switch = (bool)digitalRead(kRIGHT_SWITCH);
+#endif // DEBUG_SWITCH
 
   transvControl.rxMode = Icom706.getMode();
   transvControl.rxFrequency = Icom706.getFrequency();


  // setup serial interface for RX
  rxSerial.begin(9600);
  
  // setup of the LCD display via LCM1602
  lcd.init();

  //transvControl.txFrequency = FT817.getFrequency();
  
  if ( first ) {

#ifdef DEBUG_SWITCH    
    Serial.print("Left switch is ");
    Serial.println((left_switch ? "ON" : "OFF"));
    
    Serial.print("Middle switch is ");
    Serial.println((middle_switch ? "ON" : "OFF"));

    Serial.print("Right switch is ");
    Serial.println((right_switch ? "ON" : "OFF"));
#endif // DEBUG_SWITCH

    // prepare for RX frequency display
    // 0123456789012345
