Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SD.exists(filename) faulty #9535

Closed
Closed
Labels
Library: SDThe SD Arduino library feature requestA request to make an enhancement (not a bug fix)
@dsyleixa

Description

SD.exists(filename) works faulty!
If the SD has been started correctly by SD.begin(SD_CS) and the SD should be checked if intermediately mistakenly removed, it always shows "OK" and never shows an error:

 if( SD.exists("/") ) {
 Serial.println(" SD path '/' OK! "); // either if SD inserted or removed !!!
 // debug
 delay(2000);
 }
 else {
 Serial.println( "error! no SD file path found! "); 
 // debug
 delay(2000);
 }

Arduino IDE 1.8.9
ESP32 board 1.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Library: SDThe SD Arduino library feature requestA request to make an enhancement (not a bug fix)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /