Hi I recently got a Arduino Mega 2560 and 3.2 tft lcd sainsmart with shield to work. Im currently messing around with the UTFT_Bitmap sample from rinkydinks.com utft library. The sample runs perfectly and displays image perfectly without the use of an sd card simply by using RGB565 image converter code.The problem I have is that Im tryng to display my own image on the whole screen but when I change the code from the samples to my image all I get is a tiny pixelated square. I know Im definitely doing something wrong but is there another sample I should be running to acomplish this? Im aware that with the SD sample this issue would be solved easily and smoothly but im tryng to acomplish this task without the use of an SD card.
Here’s what im trying to acomplish
I modified to code so that it could be simplified to just one icon image. I then replaced the icon image code with the one from my image, Im aware that this is the reason that im getting a tiny pixelated square but my question is how do I scale it up, or do i have to do something different?
// UTFT_Bitmap simplified by me
extern unsigned int info[0x400];
myGLCD.fillScr(255, 255, 255);
myGLCD.setColor(255, 255, 255);
for (int x=0; x<1; x++)
for (int y=0; y<1; y++)
myGLCD.drawBitmap (x32, y32, 32, 32, info);