Nice method to check if SD-card is removed
-
Hi folks,
I'm looking for a nice way to check if an SD card has been removed.
After a succesful OTA update from the SD card, I have a reason to not reboot right away, but wait until the SD card has been removed.
I understand that I could stat() a file until it is no longer valid, but that's not really a solution to me.
Maybe one of the pins has a certain behaviour when card is present / not present? -
@Steven-Boonstoppel
What device?
If you use cusom sdcard (attached by wires) then there are plenty of slots with card remove detect pin. -
@livius LoPy4 with Expansion Board v3(.1)
-
@Steven-Boonstoppel said in Nice method to check if SD-card is removed:
Expansion Board v3
I do not use Expansion Board so cannot help
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login