 
   uint32_t desired_frequency = 28175000; // 70.175 MHz transverted into 10m Band
   byte desired_mode = YaesuCAT::eModeUSB;
-  
-  Serial2.listen();
-  
-  // check if 'Serial2' has data to receive
-  if (Serial2.available()) {
+
+#if defined (__AVR__)
+  txSerial.listen();
+#endif // (__AVR__)
+
+  // check if 'txSerial' has data to receive
+  if (txSerial.available()) {
 
     FT817.read();
 
-  } // Serial2.available()
+  } // txSerial.available()
 
 #if 1
   // set desired frequency and mode (one quantity at a time)

 #define UART_BAUD_RATE  9600
#endif // DEBUG

/**
 * From SoftwareSerialExample:
 

  return (int) &v - (__brkval == 0 ? (int) &__heap_start : (int) __brkval); 
#endif
}
#endif // (__AVR__)

