arpruss / USBComposite_stm32f1

USB Composite library for STM32F1 (HID, Serial, MIDI and XBox360 controller)
Other
382 stars 76 forks source link

sdreader.ino example not working with newer versions of sdfat #127

Open madias123 opened 1 year ago

madias123 commented 1 year ago

Hello, I'm migrating an old project of mine, but the very last thing is a working solution with a sdreader connection: The newer versions of SDFAT doesn't include "writeBlocks" and "readBlocks" - so my code (and your example) isn*t working anymore.

Do you have a working code for this?

Big thank you!

Matthias

arpruss commented 1 year ago

Are the older versions still available?

madias123 commented 1 year ago

the older versions are really ancient, and I would really use the new "UTF-8 encoded filenames are supported in v2.1.0 or later." feature, because my "clients" speak german/french and using filenames with UTF-8 chars. I did this in the past for myself, modifying the original sd-card library, but there are also some stability issues (they are gone with the new version) - so I need a new simple example for the USB HID - SD reader, which are only a few lines code. Here is my project (sorry german, but there are many vids): https://diroaudio.wordpress.com/