Hey!
So I am having a difficult time trying to understand and produce a code that reads bitmaps stored in my SD card on the arduino YUN and displays them on my 8x8 RGB matrix. The bitmaps are 24 bit color and to manipulate my 8x8 matrix I am using their neopixel libraries.
I tried to first simply open and read my bitmap file in my SD card using the FileIO class in the Bridge Library but their function's syntax is :
file.read() (returned by FileSystem.open())
I dont know how to input the file that I want to open.
The other part is how would I take the 24 bit color information of the bitmap and use them to draw using the matrix.drawPixel(x,y,color) function
If I open the bitmap in a code editor i get :
424d f800 0000 0000 0000 3600 0000 2800
0000 0800 0000 0800 0000 0100 1800 0000
0000 c200 0000 120b 0000 120b 0000 0000
0000 0000 0000 03f9 0103 1001 0000 0000
0000 0000 0025 0300 0200 000a f003 050c
0201 0200 0c03 0101 0001 0d00 01f6 0100
1a06 0609 0104 0501 0205 0100 ed05 0103
0001 0b1f 0421 d709 0601 0303 0001 0100
0100 0007 1f00 0003 0002 0101 fd02 000e
0101 fd00 0017 0200 0100 00fe 0100 0006
010a 0a02 2108 0200 0c02 0601 0000 0100
0102 010e 0301 0100 00fe 0c01 1ff7 0200
0d02 0602 0001 0106 0000 0000 f700 0003
0101 06f5 0109 3004 0601 0305 0102 08f0
0202 0001 1103 0400 0000 0517 020e 0506
0200 0102 02fa 0000
What would this mean??