SD Card example sketch "CardInfo"
Bambofy opened this issue · comments
Hi, using the default CardInfo sketch causes the SD card to be corrupted if power to the Arduino stops. I have resolves this issues on my end by adding:
"root.close();"
to the end of the setup(); function to ensure that the sd card is fully closed, and ready to be ejected.
just a curious question :)
Does this corrupt the SD card entirely or just the files?
just a curious question :)
Does this corrupt the SD card entirely or just the files?
The SD card entirely, it required reformatting to work again :)
Thanks for the information @Bambofy :)
The SD card entirely, it required reformatting to work again :)
I will try to replicate it.
Fixed by PR #75 .