Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openNextFile does not correctly list files in use [imported] #904

Closed
cmaglie opened this issue Nov 15, 2012 · 1 comment
Closed

openNextFile does not correctly list files in use [imported] #904

cmaglie opened this issue Nov 15, 2012 · 1 comment
Assignees
Labels
Library: SD The SD Arduino library

Comments

@cmaglie
Copy link
Member

cmaglie commented Nov 15, 2012

This is Issue 904 moved from a Google Code project.
Added by 2012-04-29T23:57:46.000Z by Srin...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium, Component-Core, Component-SD, Milestone-1.0.2

Original description

What steps will reproduce the problem?
Method A:

  1. Open the root of an SD card
    root = SD.open("/");
  2. List the files with the example code
    printDirectory(root,0);
    2A. All files on card show up.
  3. Open a (different) file variable for writing SD.open("datafile.csv",FILE_WRITE);
  4. List the files with the example code
    printDirectory(root,0);
  5. File opened for writing does not show up from now till reset.

Method B:

  1. Open the root of an SD card
    root = SD.open("/");
  2. Open a (different) file variable for writing SD.open("datafile.csv",FILE_WRITE);
  3. List the files with the example code
    printDirectory(root,0);
  4. File opened for writing does not show up from now till reset.

What version of the Arduino software are you using? On what operating
system? Which Arduino board are you using?
Arduino 1.0
Windows 7 x64 Ultimate
Arduino Uno SMD + Ethernet Shield R3
Kingston 1GB MicroSD Card in Ethernet Shield

Please provide any additional information below.
Sample code and sample output attached.

@agdl
Copy link
Member

agdl commented Jul 12, 2016

This issue was moved to arduino-libraries/SD#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Library: SD The SD Arduino library
Projects
None yet
Development

No branches or pull requests

3 participants