I am working on displaying image on TFT 480 X 320 using Arduino Mega 2560 .
I am MCUfriend library to display image. But my issue is the image data will keep changing as it fetches data from serial port.
The drawBMP example uses PROGMEM and i am unable to modify the data once stored.
The showBMP works on .BMP file format but the data i receive is in the form of hexcode.
I have tried using drawn pixel but i get blank data .
Can anyone pls guide me how to display image using data from serial port?
Thank you
thank you for the links but these are image data like logo.bmp already stored either in SD card or progmem.
Since the image data in my project is going to stream through uart I can't use progmem.
I am not able to find a way to decode entire show bmp example .
Can you help me how to display image when data not stored in progmem?
Sorry for that.
I searched online , there are bmp converters for hex code and .c file extension.
But I could'nt find tools to convert bmp with file format mentioned in Wikipedia ( the format that I can use for show bmp with header and other details ) .