Arduino Function: SD.close

Description

This function close the file, and ensure that any data is saved to the SD card.

Syntax

file.close()

Parameters

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


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