Stuck going from 100% working uno build to mega


I have built using the code on this page a cool little relay switcher. Now, am hoping to use/add more sensors such as temp and pressure. The Uno memory is full so have bought a mega. In the sketch is gives some comment for changing to a non Uno build but I am stumped.

Any ideas from the pro's here to convert the sketch to running on a mega? My limited reading says uno and mega sketches are largely interchangeable if simple? Cheers for any thoughts

Which shield are you using for the network connection? Can you post a link to that hardware?

Hi seems to be working after just hooking it up, not sure why the uno comments are on that site honestly. If it helps anyone, this is with clone mega and official wiznet ethernet shield