Reference.FileRewindDirectory History

Hide minor edits - Show changes to markup

November 02, 2011, at 08:08 PM by Scott Fitzgerald -
Changed lines 5-6 from:

Move to the top level directory on a SD card.

to:

rewindDirectory() will bring you back to the first file in the directory, used in conjunction with openNextFile().

Changed lines 9-10 from:

path.rewindDirectory()

to:

file.rewindDirectory()

Changed lines 13-14 from:

path: an instance of the File class that is a directory.

to:

file: an instance of the File class.

Changed lines 23-24 from:

File topLevel;

to:
Deleted lines 33-34:
  topLevel.rewindDirectory();
Changed lines 49-50 from:
       //Serial.println("**nomorefiles**");
to:
       // return to the first file in the directory
       dir.rewindDirectory();
November 02, 2011, at 04:27 PM by Scott Fitzgerald -
Changed lines 5-6 from:

Move to a named path/directory on the SD card.

to:

Move to the top level directory on a SD card.

Changed lines 13-14 from:

path: an instance of the File class (returned by File.open())

to:

path: an instance of the File class that is a directory.

Changed lines 23-24 from:
to:

File topLevel;

Changed line 36 from:
  root.rewindDirectory();
to:
  topLevel.rewindDirectory();
November 02, 2011, at 01:59 PM by Scott Fitzgerald -
Changed lines 13-14 from:

path: an instance of the File class (returned by file.open())

to:

path: an instance of the File class (returned by File.open())

Changed lines 74-75 from:
to:
November 02, 2011, at 01:57 PM by Scott Fitzgerald -
Changed lines 13-14 from:

path: an instance of the File class (returned by file.open()

to:

path: an instance of the File class (returned by file.open())

November 02, 2011, at 01:54 PM by Scott Fitzgerald -
Deleted line 35:
Deleted line 36:
November 02, 2011, at 01:53 PM by Scott Fitzgerald -
Added lines 1-77:

Share