SD : File class
Close the file, and ensure that any data written to it is physically saved to the SD card.
file.close()
file: an instance of the File class (returned by SD.open())
none
Reference Home