monitor SD Card insert #11533
Replies: 4 comments
-
There is no way to currently do that. Maybe @P-R-O-C-H-Y can think of a way to detect that card is missing when attempted to be accessed, or some way to confirm that is in the slot, but we have not implemented anything of the sort yet. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the fast and disappointing answer. So no nice icon... |
Beta Was this translation helpful? Give feedback.
-
Hi @holgerlembke, I guess there is not much more to do other the check return of |
Beta Was this translation helpful? Give feedback.
-
Oh, exists(), I'll try that. Still, looks ugly. https://github.com/holgerlembke/WaveShareFrameWork/blob/ca6b3e3e696ac101829f765227e0d3fe8638217b/FFsRtc.ino#L20 For the WaveShare ESP32-S3 1.8inch AMOLED: they already have added a port extender because no free gpio... TCA9554/8-bit is fully used for important stuff. (I dont really see why they routed the RTC IRQ to the TCA9554, because, well, the TCA has no IRQ routed so the RTC hardware IRQ will end there. What could I archive with that IRQ if I need to read it from the TCA? A wake up event could be better done in software. But what do I know.) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Moin.
I'm playing around with the WaveShare ESP32-S3 1.8inch AMOLED Touch Display Development Board. It is a nice little thingy, just saying if you have $40 on hand.
I want to monitor the SD Card insert/remove event. Sadly, the SD slot has not wired the CD signal.
I tried playing around with "SD_MMC.begin()" to see if a card is inserted and "SD_MMC.readRAW()" to see if it has been removed, but that does not feel right (much to high level).
Any idea how to monitor the insert/remove event more on the low level side?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions