 #include <Ethernet.h>
 #include <ArtNode.h>
 #include "ArtNetFrameExtension.h"
+
+#ifdef _use_octoWS2811
 #include "OctoWS2811.h"
-
-#include "TeensyMAC.h"
-#include <EEPROM.h>
-
-#define VERSION_HI 0
-#define VERSION_LO 8
-
-#define PIN_RESET 9
-
-EthernetUDP udp;
-uint8_t udp_buffer[600];
-
-boolean locateMode = 0;
+#endif
+#ifdef _use_FastLED
 uint32_t portSyncFlag;
 uint32_t portSyncFlagCheck = 0;
 uint8_t syncFlag;
+#include "FastLED.h"
+#endif
+
+#include "TeensyMAC.h"
+#include <EEPROM.h>
+
+#define VERSION_HI 0
+#define VERSION_LO 8
+
+#define PIN_RESET 9
+
+EthernetUDP udp;
+uint8_t udp_buffer[600];
+
+boolean locateMode = 0;
 
 // variables for the node.report
 float tempVal = 0;

void setup() {
  //saveConfig(); //<-- uncomment to force the EEPROM config to your settings on eatch reboot
  loadConfig();
  for (int i = 0; i < config.numPorts; i++) {
    bitSet(portSyncFlagCheck, i);
  }

#ifdef PIN_RESET
  pinMode(PIN_RESET, OUTPUT);

  // Open ArtNet
  node = ArtNodeExtended(config, sizeof(udp_buffer), udp_buffer);

  #ifdef _use_octoWS2811
  LEDS.begin();
  LEDS.show();
  #endif
  #ifdef _use_FastLED
  FastLED.addLeds<LPD8806, 2, 6, RGB, DATA_RATE_KHZ(12)>(leds, num_led_per_output).setCorrection( UncorrectedColor );
  #if NUM_OF_OUTPUTS > 1
  FastLED.addLeds<LPD8806, 14, 20, RGB, DATA_RATE_KHZ(12)>(leds, num_led_per_output, num_led_per_output).setCorrection( UncorrectedColor );
  #endif
  #endif

  blink();

