Arduino Function: SD.openNextFile

Description

Reports the next file or folder in a directory.

Syntax

file.openNextFile()

Parameters

file: an instance of the File class that is a directory

Returns

 char : the next file or folder in the path


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc