Thank you very much SurferTim. I really appreciate your help and time.
I have changed my code to upload to google charts instead and reduced the static strings and now have a much shorter code. Thanks. But now (when my code is running) I see that there are some problems with the combination of SD and ethernet (I think).
I tried to find a solution and stumbled upon your name on an other post regarding SD and ethernet. I've used the coding from that example.
void setup()
{
Serial.begin(9600);
// disable SD SPI while starting w5100
// or you will have trouble
pinMode(4, OUTPUT);
digitalWrite(4,HIGH);
Ethernet.begin(mac, ip);
server.begin();
Serial.print("server is at ");
Serial.println(Ethernet.localIP());
// this corrects a bug in the Ethernet.begin() function
// even tho the call to Ethernet.localIP() does the same thing
digitalWrite(10,HIGH);
if (!SD.begin(4))
Serial.println("SD initialization failed.");
// SD.begin() returns with the SPI disabled, so you need not disable it here
Serial.print("server is (still?) at ");
Serial.println(Ethernet.localIP());
My new code is over 9500 characters so i can't post it to this forum (might not be necessary but here it is https://dl.dropboxusercontent.com/u/4193273/SD_Ethernet/SD_Ethernet.ino)
When I open my serial communication it never stops printing:
"Server isServer is Server isServer is Server isServer is "
Any suggestions?
Once again, many thanks for your help! ![]()