This is not my code! you can get the orignal code from http://blog.deskontrol.net/arduino-based-dmx-artnet-node/
For this code or the orignal to work you must use arduino IDE 0023 or 0022. You can download it form https://www.arduino.cc/en/Main/OldSoftwareReleases#previous