SD card read for pixel LED

Hai All friend following is the pixel led project the pixel data load from SD card by reading RGBMatrix.bin and settings pixel type and Num_led getting from Sd card Config.txt file following is working and my next requirement is as follows
SD card Have

as i already said: you can't make global object from inside of function. when setup() ends their variables and objects will disappear forever

Your topic has been moved. Please do not post in "Uncategorized"; see the sticky topics in Uncategorized - Arduino Forum.


It would be much easier if you only have one bin file containing the data for both matrices. Reason is that you only can have one file open at a time so opening a file, keeping track where you were and closing the file (and next repeat for the next file) will be a mission.

ohhh ok dear

ok thanks

That would depend on the particular SD library being used. I've never tried it with the version for the ESP8266 or ESP32. The SD library for AVR processors does supports multiple files open at the same time, but the need for a 512 byte buffer plus overhead for each open file limits the use to something with more ram than an UNO.

Thanks dear

The files RGBMatrix1.bin and RGBMatrix2.bin have 10 digits in the file name.
The SD card library only allows the use of file names of up to 8 digits.

I think it was a typo, but Config2,txt has a comma instead of a period.

I can change the name in to matrix1 and matrix2
but I need to know is it possible to get two data line for two matrix. Because I have seen some one doing this. No idea how its getting

this file not work for esp32. code working bord?