Hello everyone. I'm pretty new in Arduino and could say programming in general but I want to learn. Please help me.
I have an Arduino Mega 2560 and a 2.4" TFT RGB LCD without touchscreen.
I need any kind of guidance for displaying a bitmap. I tried converting from BMP to an array but I only see white screen.
Is there an easier way to do something like this or at least work? Maybe you guys can give me some examples for a converted bitmap and the code used so I can read and understand it?
I used the display until now to draw boxes, circles and humidity+temperature but using functions from Ucglib.h.
Many thanks
Post a link to the actual screen that you have bought e.g. Ebay sale.
Do you want a full colour .BMP file? e.g. like you can display on your PC.
Or do you want a monochrome icon? e.g. Adafruit logo
David.
Hi David,
I only have a link from my country but from ebay should be this one:
https://www.ebay.com/itm/240x320-2-4-SPI-TFT-LCD-Panel-Serial-Port-Module-with-PBC-ILI9341-3-3V/281687174588
If it helps here is the link from my country: 2.4" SPI LCD Module with ILI9341 Controller (240 x 320 px) - Optimus Digital
It has no SD adapter and no touchscreen.
I would like if I can to display a color picture. I already draw using a setColor (R,G,B) function but I don't know how to use it on arrays
Your first link shows

Your second link shows

I found a Blue pcb on Ebay with this image

The Red pcb can display .BMP files from an SD. (but there is no Touch chip mounted)
The Blue pcb has no SD socket.
The Red pcb definitely requires 3.3V logic signals. i.e. level shifters on every signal from the 5V Mega2560
I have never seen the Blue pcb before. The Ebay description says 3.3V power. What values are R1-R6 ?
If you use 3.3V logic both displays should work fine e.g. with Adafruit_ILI9341 installed via IDE Library Manager
David.