Enable new microSd card

Elf

Well-known member
Is it possible to enable a microSD card after it has been inserted in an active session? Currently, I have to turn the Teensy off, then on again for the card to be recognized.
 
Your code must be able to detect removal or absence of the SD card and also if a card has been inserted (presence) into the SD card slot. When it detects a new card then execute the code to enable it. Your active session must handle these change events as required. You may want to use a flag to track the status.
 
Back
Top