SD - remove()

Remove a file from the SD card.

Syntax

SD.remove(filename)

Parameters

  • filename: the name of the file to remove, which can include directories (delimited by forward-slashes, /).

Returns

1 if the removal of the file succeeded, 0 if not.

See also