  #define UART_BAUD_RATE  9600
 #endif // DEBUG
 
+#if defined (__AVR__)
 /**
  * From SoftwareSerialExample:
  

*/
#include <SoftwareSerial.h>

SoftwareSerial Serial2(8, 9); // RX, TX

// local prototypes
static int availableMemory();
  
void setup() {
  
#ifdef DEBUG
  /* Initialize serial output at UART_BAUD_RATE bps */
  Serial.begin(UART_BAUD_RATE);
  Serial << F("YaesuTest: starting ...") << endl;

  Serial << F("Free SRAM: ") << availableMemory() << endl;
#endif // DEBUG

  // set the data rate for the SoftwareSerial port(s)
  Serial2.begin(4800);  // menu item 14: 4800/9600/38400
}

YaesuCAT FT817(Serial2);

void loop() {



  uint32_t desired_frequency = 28175000; // 70.175 MHz transverted into 10m Band
  byte desired_mode = YaesuCAT::eModeUSB;

#if defined (__AVR__)
  txSerial.listen();
#endif // (__AVR__)

  // check if 'txSerial' has data to receive
  if (txSerial.available()) {

    FT817.read();

  } // txSerial.available()

#if 1
  // set desired frequency and mode (one quantity at a time)
