Somehow my program memory usage on this sketch for a Ghostbusters project has ballooned to 107% of what an Arduino UNO can store. Since the code to read a 24-bit BMP from the display shield’s SD card takes up the most lines, that’s my first guess where I could save some space.
Can anyone help me fit this inside an Uno (e.g., better libraries, more efficient options, …) or point me in the direction of a pin-compatible alternative with more memory (without having to resort to something bigger, like the Mega)?
To enable get it to work while debugging and let the compiler fit it into the Uno, use the uncommented line 71.
Thanks in advance for any help you can provide.