I've bought a ready made ENC28j60 board like this attached picture
and connected it to my arduino uno R3
and made a sketch to control 8 output relays and a temperature sensor
i made it from collecting some examples together
and when i upload a sketch contains only the output relays control, it works fine
and when i upload another contains only the temperature sensor, also works fine
but my problem is when i put both in one sketch . it compiles fine without any errors. but it doesn't work practically.
only the relays are working but the temperature sensor is not working and vice versa.
Please anyone could help me with this problem :~ ??
The code is attached
WORKED_LED_WEBSERVER_FOR_1_0_ARDUINO.ino (10.1 KB)