-
Notifications
You must be signed in to change notification settings - Fork 86
Acquire SD card #87
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
In theory any API call will trigger card acquisition. The demos just use |
Ok, I forgot to do it in |
Yes, it would be nice to have it also in the card type method. I've tested it today and I can't say how much improvement there is, however, new version is working 🙌 |
It's a replacement for the Arduino SDFat library, so keeping it simple is good. |
@jonathanpallant should I close this issue or should I leave it because of the |
I opened #90 |
Ok, great! |
I've come to realise that in version
0.5
in order to acquire the SD card you need to callcheck_init
oracquire
but it's not exposed fromSdCardInner
.Instead you need to call either
num_bytes
or directly try to read/write to the SD card in order to initialize it.It would be nice to be able to expose
acquire
or better thecheck_init
function inSdCard
in order to be able to initialize it upfront before the first read/write takes place.The text was updated successfully, but these errors were encountered: