SD.open

Name
SD.open

Description
Open/Create a file with the name given in path

Syntax
FRESULT SD.open (FIL *fp, const char *path, byte mode) /* fp = Pointer to the blank file object */ /* path = Pointer to the file name */ /* mode = Access mode and file open mode flags */ mode values : 4 to create a file 3 to open a file, then you can read or write the file 2 to open a file, then you can only write 1 to open a file, then you can only read