Why then would the following string not be deleted when the void loop() exits and returns:
I'm just confused about how the Serial.print() function operates when you give it a string directly.
So would there be a difference between the above code, and the following code concerning how the 'string' array is saved (or deleted from memory).
Would this code clear the character array to_print from memory after the loop() function has finished executing?
Defining a compile time variable to determine if the code is generated or not.
You can look at the assembler output for the two cases.
Have just added a #include at the top of an existing script and the complier takes a fit, doesnt like it at all.