Skip to content

Commit de9ba3d

Browse files
committed
fix linter
1 parent c203f0a commit de9ba3d

File tree

1 file changed

+17
-10
lines changed
  • content/hardware/03.nano/boards/nano-esp32/tutorials/spiff

1 file changed

+17
-10
lines changed

content/hardware/03.nano/boards/nano-esp32/tutorials/spiff/spiff.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ void loop(){
269269
}
270270
```
271271

272-
### How it works?
272+
### How It Works?
273273

274274
- First, the **necessary libraries** are included:
275275

@@ -285,17 +285,24 @@ void loop(){
285285
```
286286

287287
- 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.
295302

296303
- 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.
299306

300307
```arduino
301308
void setup(){

0 commit comments

Comments
 (0)