Hello,
I would like to better understand the message I get after compiling a sketch, especially the part about the used RAM.
It says (not literally) "... global variables use xyz bytes of 2048 bytes... abc bytes remain for local variables..."
Am I correct in assuming that static variables are regarded as local variables? Or are the considered as global variables because they exist during the entire runtime?
When using lots of "threaded" or nested functions (so lots of accumulated static variables):
Would it make sense to estimate how many bytes each function needs for its local variables in order to estimate, if / when some crash might occur due to heap / stack collision?