-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse config file from SPIFFS on a ESP32 #1215
Comments
I started over all again with a fresh project and this seems to be working just fine.. Now looking for the issues in the bigger project. Anyway, here's the code as a reference:
|
Hi @DavidTruyens, Thanks for the update. For future reference, you can find an example of a configuration file stored on SD in JsonConfigFile.ino. Best regards, |
Hi Benoit,
I already have the book, but that's the old one. So no v6.
But thanks, I'm fine for now 😊
…On Fri, 20 Mar 2020 at 20:57, Benoît Blanchon ***@***.***> wrote:
Hi @DavidTruyens <https://github.com/DavidTruyens>,
Thanks for the update.
For future reference, you can find an example of a configuration file
stored on SD in JsonConfigFile.ino
<https://arduinojson.org/v6/example/config/>.
In addition, Mastering ArduinoJson <https://arduinojson.org/book/>
contains a case study that shows how to store a complex configuration in
SPIFFS.
Best regards,
Benoit
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1215 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVVIIAG6DSDSZQKX6KAGJ3RIPDBVANCNFSM4LQKQ3RQ>
.
|
If you purchase the ebook, you should automatically get the new one for free. |
I have the paperback! I really liked a physical copy, it has been very
helpful.
Regards,
David
…On Fri, 20 Mar 2020 at 21:25, Benoît Blanchon ***@***.***> wrote:
If you purchase the ebook, you should automatically get the new one for
free.
If you have a paperback version, please drop me an email.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1215 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVVIIB7BGKE5KOGONQE3A3RIPGMLANCNFSM4LQKQ3RQ>
.
|
Hi Blachon,
I've been using V5 for quite a while. Now decided to move to V6. I've read a couple of time that I just should remove the "readBytes" (as mentioned [here]).(#1159) .
I've tried a lot of different options, but non is working.
Here's where it goes wrong I guess:
So I'm not sure if I still need the buffer or if I can just read the file directly..
Here's the full code:
I'm using an Adafruit ESP32 feather and Platformio on VS code.
Regards,
David
The text was updated successfully, but these errors were encountered: