Webserver not reachable

hallo all,

(srry for my English)

I'm new to arduino and I'm busy with an Home Automation project.

I've got just a normal remote that sends an IR code (0x8C03F)
I want to switch on a relay with this code.

that's what I want to reach.

I want to intergrate this code into my Webserver (enc28j60 with Ethercard)

but here comes the problem:
my webserver works fine, no problem at all.
But when I intergrate, even only the #include <IRremote.h> library, my server is unreachable by.
when I enter the IP adres into the browser, it keeps loading.

I added the code as an attachment, where I set the "//!!!!!!!!!!!!!" is all what belongs to the IRremote script.

I've really no idea how to fix this.

I'm using an arduino uno.
I've got the newest drivers and libraries.

Thanks in advance.

arduino_site.ino (5.59 KB)

Boards using the enc28j60 use a LOT of Arduino resources to implement the TCP/IP stack that the chip lacks. There is very little SRAM left for other code. I suspect you are running out of SRAM and crashing before you get anything done.

Either use a larger Arduino like the MEGA 2560 or use an Ethernet card that requires fewer resources like the Arduino Ethernet Shield (or cheap clone thereof).

okey, thank you very much.
I'm going to try another arduino or module.