I’m trying to create a program that supervises my electric consumption. I manage to get information from my power consumption meter and to store it on a SD card. Now I want to forward the consumption data to my webserver through my Ethernet network.
Now I encounter problem while including Ethernet.h library to my project. I think I’m running out of SRAM again.
Is there a way to identify the level of used memory?
How can I optimize my code to allow me to include Ethernet.h library? Is there some programming rules to optimize my developments?
If you're on an uno then once you include SD and Ethernet libraries there's not much room left for code. I've had to step up to my mega if I really wanted to do anything useful and include both of those.