Small-footprint way to display BMP from 2.4 inch display shield's SD?


Code: #include <Adafruit_GFX.h>#include <Adafruit_TFTLCD.h>#include <SD.h>#inclu -
Example of previous version: Real Ghostbusters - PKE Meter Screen Test v0.1 - YouTube

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.

This topic was automatically closed after 120 days. New replies are no longer allowed.