artnet, pwm driver - difficulties combining libraries / sketches

project description:
to send an artnet signal from a software via ethernet to the arduino, forward the rgb-values to a pwm-driver, where i have 8 channels to control 8 rgb-led.

components:
-arduino uno
-arduino ethernet shield 2
-adafruit pwm driver tlc5947
-rgb-leds (common anode)
-artnet freeware software

i am using the following libraries / sketches:
-pwm driver
adafruit_tlc5947

-to receive the artnet signal on the arduino
artnet-arduino-set-v3.1-0

the two examples work just fine on their own. when i open a serial communication, i also get the different rgb-values on the serial monitor when i fade with one channel 1 fader of the software.
the problem starts when i try to combine those two libraries / sketches. as soon as i call the begin function of the tlc library, i don't get any values anymore. if i comment the begin function out, i get the values again.

i don't understand why this happens. why does it affect the reading of the artnet-part?

could anyone please give me some advice or explain to me why this happens? i would appreciate it very much! (full code will be found in the attachments)

#include <SPI.h>
#include <Ethernet.h>
#include <EthernetUdp.h>         // UDP library from: bjoern@cs.stanford.edu 12/30/2008
#include "Adafruit_TLC5947.h"

#define short_get_high_byte(x) ((HIGH_BYTE & x) >> 8)
#define short_get_low_byte(x)  (LOW_BYTE & x)
#define bytes_to_short(h,l) ( ((h << 8) & 0xff00) | (l & 0x00FF) );

#define NUM_TLC5974 1 // number of pwm drivers

#define data   4
#define clock   5
#define latch   6
#define oe  -1  // set to -1 to not use the enable pin (its optional)

Adafruit_TLC5947 tlc = Adafruit_TLC5947(NUM_TLC5974, clock, data, latch);

void setup() {

  tlc.begin();
  Ethernet.begin(mac,ip);
  Udp.begin(localPort);

  Serial.begin(9600);
}

sketch_artnet-pwmdriver.ino (3.83 KB)

Whats the size of your complied program?

typematrix:
Whats the size of your complied program?

I am not exactly sure what you are driving at, but let me copy this for you:

Sketch uses 9802 bytes (30%) of program storage space. Maximum is 32256 bytes.
Global variables use 1175 bytes (57%) of dynamic memory, leaving 873 bytes for local variables. Maximum is 2048 bytes.