@@ -269,7 +269,7 @@ void loop(){
269
269
}
270
270
```
271
271
272
- ### How it works ?
272
+ ### How It Works ?
273
273
274
274
- First, the ** necessary libraries** are included:
275
275
@@ -285,17 +285,24 @@ void loop(){
285
285
```
286
286
287
287
- The code consists of several ** functions** defined in the code showcasing ** different features** such as:
288
- - ` void listDir() ` = List Files
289
- - ` void readFile() ` = Read Files
290
- - ` void writeFile() ` = Write Files
291
- - ` void appendFile() ` = Append a message to an existing file
292
- - ` void renameFile() ` = Rename Files
293
- - ` void deleteFile() ` = Delete Files
294
- - ` void testFileIO() ` = Testing a file's input and output by writing a large amount of data and then reading it.
288
+
289
+ ` void listDir() ` = List Files
290
+
291
+ ` void readFile() ` = Read Files
292
+
293
+ ` void writeFile() ` = Write Files
294
+
295
+ ` void appendFile() ` = Append a message to an existing file
296
+
297
+ ` void renameFile() ` = Rename Files
298
+
299
+ ` void deleteFile() ` = Delete Files
300
+
301
+ ` void testFileIO() ` = Testing a file's input and output by writing a large amount of data and then reading it.
295
302
296
303
- Before calling all the functions mentioned above ** two things** are done inside ` setup() ` :
297
- - The serial communication is initialized with a baud rate of 115200.
298
- - The SPIFFS file system is mounted and if ` FORMAT_SPIFFS_IF_FAILED ` is ` true ` it's formatted.
304
+ 1 . The serial communication is initialized with a baud rate of 115200.
305
+ 2 . The SPIFFS file system is mounted and if ` FORMAT_SPIFFS_IF_FAILED ` is ` true ` it's formatted.
299
306
300
307
``` arduino
301
308
void setup(){
0 commit comments