 #if defined ( ETHERNET_SHIELD_V2 )
 #include <Ethernet2.h>
 #include <EthernetUdp2.h>
+#include <utility/w5500.h>
 #else
 #include <Ethernet.h>
 #include <EthernetUdp.h>
+#include <utility/w5100.h>
 #endif
+
+#include <IPAddress.h>
 
 
 #include <LXDMXEthernet.h>


#define USE_DHCP 1
#define USE_SACN 1

//  Uncomment to use multicast, which requires extended Ethernet library
//  see note in LXDMXEthernet.h file about method added to library

#define USE_MULTICAST 1

#define MAC_ADDRESS 0x90, 0xA2, 0xDA, 0x10, 0x6C, 0xA8
#define IP_ADDRESS 192,168,1,20
#define GATEWAY_IP 192,168,1,1
#define SUBNET_MASK 255,255,255,0
#define BROADCAST_IP 192,168,1,255

#define TARGET_IP 192,168,1,12

// this sketch flashes an indicator led:
#define LED_PIN 3

  LXSerialDMX.startInput();

  if ( use_multicast ) {
    //eUDP.beginMulticast(send_address,  interface->dmxPort() - 1);
    eUDP.begin(interface->dmxPort());
  } else {
    eUDP.begin(interface->dmxPort());
  }
