I need to put a program on a memory reduction plan !
I've built a program that controls a set of the RGB Leds like super christmas lights. It includes IR control, PIR sensor to act as a night light, RTC, and finally a microphone connected to the FFT programs to make a really wild display when the music plays. All good.
Good news - I think I am close to having it all work.
Bad news - I think I am out of ram. I had to comment out some functions to get this to run.
Now I am ok with stripping out some functions, but before I do, is there some code analysis tools to find unused variables, unused routines etc ?
Is there a book or article on reducing memory footprint ?
Thanks

