MartinNohr / LedImagePainter

New ESP32 version using rotary push button switch.
2 stars 1 forks source link

Longer than 7 character filenames fail to play #25

Closed zhaoyu3517 closed 3 years ago

zhaoyu3517 commented 3 years ago

I found that if the file name exceeds 7 letters, it will fail to play.There are too many pictures in the SD card and it will crash.

zhaoyu3517 commented 3 years ago

Sorry, I found the cause of the problem.

MartinNohr commented 3 years ago

I have a new version of this using the TTGO T-Display. It has a nice color screen. I fixed the SD code so it can read long filenames and have as many files as you want in the TTGO version. This version has a limit of I think 20 files in each folder. I removed that limit in the TTGO version. I might fix this version also. Keep checking for a new post. The TTGO version is here: https://github.com/MartinNohr/MagicImageWand

MartinNohr commented 3 years ago

I'll reopen this until I fix the file limits.

MartinNohr commented 3 years ago

I fixed the code so longer filenames will work correctly. I didn't change the code version number. I had already changed the code to remove the 20 file limit on each folder on the SD card.