avr-size myproject.cpp.elf
text data bss dec hex filename
7240 598 380 8218 201a myproject.cpp.elf
freeMemory() is now reporting
898 in the function I suspect that has problems.
But that function calls Serial.print - and nothing is being displayed.
I may still be short on SRAM space.
[/quote]
Ok- I'm getting 972 from freeMemory() now- looks like I'm back in business.
My function is executing normally now. I'm seeing the output of Serial.print.
I did all the opti by hand, turned some functions into macros so that code will be inline, instead of on on the stack after another function call.
I think I'll go thru and move some strings to progmem, to give me some extra room.
Thanks to everyone who replied (to all the threads)!