Initializes the SD card. Returns true if the sd card was successfully initialized. CSPin - Pin connected to the chip select line of the sd card.
ListFiles (DirNameAsString) AsFileIterator
Can be used in a For Each loop to iterate over the files in the folder. Example: ForEachfAsFileInsd.ListFiles("/") Log("Name: ", f.Name, ", Size: ", f.Size) Next
OpenRead (FileNameAsString) AsBoolean
Opens a file in read only mode. Returns true if the file was opened successfully.
OpenReadWrite (FileNameAsString) AsBoolean
Opens a file in read and write mode. Returns true if the file was opened successfully.
PositionAsULong
Gets or sets the position in the current open file.
Remove (FileNameAsString) AsBoolean
Deletes the given file. Returns true if the file was successfully deleted.