class LDrive;
class LDrive;
The base class of LinkIt SD/Flash.
LStorage.h
|
Method |
Description |
|
Initializes the SD or Flash module. | |
|
Tests the given file exists or not. | |
|
Creates a folder. It can create multiple sub folders at once; for example, LSD.mkdir("a/b/c") can create 3 folders a ,b, c, at the same time. | |
|
Opens a file (or folder). The following happens when the file path does not exist: - If FILE_WRITE mode is provided, an empty file is created; - If FILE_READ mode is provided, it returns Failed.
| |
|
Deletes a file. | |
|
Deletes a folder. The folder must be empty, or the function will fail. |