Reference.FileClose History

Hide minor edits - Show changes to markup

December 01, 2011, at 03:08 PM by Scott Fitzgerald -
December 01, 2011, at 03:07 PM by Scott Fitzgerald -
Changed lines 5-6 from:

Close the file, and ensure that any data written to it is physically saved to the SD card. Because the SD library support only one open file at a time, you must close a file before opening another one.

to:

Close the file, and ensure that any data written to it is physically saved to the SD card.

November 21, 2010, at 07:29 PM by David A. Mellis -
Added lines 1-21:

SD : File class

close()

Close the file, and ensure that any data written to it is physically saved to the SD card. Because the SD library support only one open file at a time, you must close a file before opening another one.

Syntax

file.close()

Parameters

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

Returns

none

See Also

Share