Why we should not use the String object of arduino??
When using sd lib, I ran into problem of con char* and string problem in sd.println(), the compiler told me it's not right to write a string.... I have a function which assemble some strings and return back a string. let say String form-string(void); then I tried myFile = SD.open("test.txt", FILE_WRITE); // if the file opened okay, write to it: if (myFile) { Serial.print("Writing to test.txt..."); myFile.println(form_string()); // close the file: myFile.close(); The error is that it says it need "const char *" not a "string"... I was so so confused.... I need to go deeper in the string and char array....google it.... turns out that lot of people talk about not to using arduino String objects, saying it's bad, and wast more time and space....well, today we can have powerful and big MCU then before with same cost, I don't really think this is a problem...Until I read this article.... The is...