Memory Problem with Nano

Use of String objects leads to memory problems and program crashes on small MCUs. If you want your program to run reliably, replace all these String operations with C-strings and operations e.g. strtok(), strcat(), strcpy() etc. or better, the corresponding n versions strncat(), ....

2 Likes