I want to display this image on my lcd.
There is a format with which i can store this image in my memory. It is .TNT
This format descibes this image via this way(All the numbers are in HEX)
The WW is in hex the width of the image.
The HH is the height of the image.
And then the data are being displayed form bottom-left to right and then one page(8 pixels) up from left to right and so on...
My question is how can i store this long number in memory and be able to call it. I will need to call the data later, in teams of two bytes.
The number could be for example (for this image)
0F = 15 pixels width
11 = 16 pixels height
00 = 00000000 first column bottom-left
FF =11111111 2nd column
80 = 10000000 3rd column
B0 =10110000 4th column
Try to check this in the picture
So, How can i store this long number in my memory so as to as easier as possible to use it later?
An idea. (Maybe silly.i am new yet) Could i do it with 2-dimension array and have a function with two parameters passing inside?(width, height=number of pages). Each variable in the array would be a 2digit Hex. (Ex. 4F) and with some loops to display the data)