I am using an Arduino UNO sold by Sparkfun Electronics.
MCUFRIEND_kbv.h ID:0xD3D3 (ID printed in the Serial monitor of the MCUFRIEND_kbv showBMP_Uno program)
I am aware that this program exists, it now is working for me in which it scrolls through the images on my SD card. A few issues I have with this:
-
I do not understand the code- the function is very long and I don't understand how to edit it for particular images if I want to place them in certain spots of my code.
-
The size- This code takes up 76% of program memory just to display an image. I am looking for a simple way to call an image from the SD card so that it does not take up as much space as I have other libraries (for nunchuk) and the actual games I am making to fit into my project.
-
Functionality- as mentioned before, this program just scrolls through images. I am looking for something that will allow me to display an image on the screen in a particular spot from the SD card when I call it rather than just scrolling through in one spot. Such as:
if (catScore > 10 && wizardScore <= 10) {
//display winning image
}
else if (wizardScore > 10 && catScore <= 10){
//display losing image
}