Closed deividi21 closed 4 years ago
Please clone the latest version of this repo and try this in your code:
if (!SPIFFS.begin(FORMAT_SPIFFS_IF_FAILED, "/spiffs", 10))
Problem soveld. Thank you a lot!
It seems to be working just fine. I have a few more questions about the changes that you have made:
1 - Shouldn't the path of SPIFFS always be /spiffs
?
2 - What does the maxOpenFiles
means?
1 - Shouldn't the path of SPIFFS always be
/spiffs
?
This is the mount point - the second parameter allows us to change it.
2 - What does the
maxOpenFiles
means?
Number of files that can be open simultaneously. SQLite library creates additional temporary files when changes are made to database.
I'm having troubles trying to do a transaction involving two tables.
Here is the code, just like the spiffs example: