Hi there. I googled for a problem concering my little arduino projects.
It would be to complicated to upload my whole program so I take a codepart which I've found in this forum(
http://arduino.cc/forum/index.php/topic,95914.30.html) and is pretty much alike my problem:
#include <MemoryFree.h>
void setup() {
Serial.begin(9600);
}
void loop() {
int n = 0;
while(n <=100) {
int u = 20*n;
int v = 30*n;
String str = String(n) + ", " + String(u) + ", " + String(v) + ", " + String(freeMemory());
Serial.println(str);
delay(500);
n++;
}
Serial.println("Done");
}
As far as I understand, its a problem of arduinos memory that's used to store the variables.
I also followed this posts
http://arduino.cc/forum/index.php/topic,95914.0.html and I think its dealing with the problem(isnt it?).
To be honest, im not a native english speaker and ive got a difficult time following these solutions.
My question is:
1.Is there a library to download to replace the broken one?
2. If not, is there a workaround(proofed? dont want to destroy my board, saved my pocketmoney for a long time <.<)
3. If nothing helps I have to surrender and stop using String?
Im sorry for creating this new topic but i really didn't get what to do in the mentioned topics above.
J.A.