Go Down

Topic: UTFT_tinyFAT modification to use SdFat (Read 2604 times) previous topic - next topic


I'm trying to modify the UTFT_tinyFAT lib to use SdFat. The only function in this lib is loadBitmap. I've attached the mod'ed .h and .cpp files, and the originals. It works, but only for a seemingly random number of times, then stops loading. The sketch doesn't crash; it just returns from the loadBitmap function. I can't use tinyFAT with this sketch because the card has too many files for the root directory. Could someone look at the .cpp (which is probably where the problem is) and see what I did wrong? Thanks.


Did you manage to make it work?
I'm coding a program that must have directories on the SD card and some images to be loaded on the LCD and your mod would be perfect.
Sorry that I could not help... I'm not that good programing  :P



Yes, curiously enough it was a hardware problem. I changed to another brand of SD card and it works perfectly. I don't use the library, though; just put the needed functions on another tab in the sketch. I'll  attach that tab. Remember to init UTFT, SdFat, and Sdfile on the main page, and check the UTFT docs for the proper parameters for your card. Good luck.


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131