 }
 
 void setup() {
-  // save the new transponder numbers in eeprom if they are not already there
-  if (EEPROMReadlong(0) != tx_id) {
-    EEPROMWritelong(0, tx_id);
-  }
-  if (EEPROMReadlong(4) != tx_alt_id) {
-    EEPROMWritelong(4, tx_alt_id);
-  }
-  long tx_id = EEPROMReadlong(0);
-  long tx_alt_id = EEPROMReadlong(4);
+  #ifdef atmega
+    // save the new transponder numbers in eeprom if they are not already there
+    if (EEPROMReadlong(0) != tx_id) {
+      EEPROMWritelong(0, tx_id);
+    }
+    if (EEPROMReadlong(4) != tx_alt_id) {
+      EEPROMWritelong(4, tx_alt_id);
+    }
+    long tx_id = EEPROMReadlong(0);
+    long tx_alt_id = EEPROMReadlong(4);
+  #endif
   // set up jumper bridge for alternate ID
   pinMode(bridgePinIn, INPUT);
   digitalWrite(bridgePinIn, HIGH);

//change transponder ID # by setting a different transponder number for tx_id
long tx_id = 4444444;
long tx_alt_id = 8901234;
//CONFIGURATION END





// Include eeprom library for usb connectivity
#ifdef atmega
  #include <EEPROM.h>
  #include "saved.h"
#endif

// Include libraries for ir led frequency and speed
#include "IRrem.h"
#include "IRsnd.h"


IRsend irsend;
