-
Notifications
You must be signed in to change notification settings - Fork 62
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
Issue with Tutorial5 #4
Comments
I think it designed that way |
But why save it the spiff att all then... |
Because you cannot hold lot of data on Ram or you going to run out of usable ram |
I am getting this output after uploading Part 5 codes: load 0x4010f000, len 1384, room 16 |
To solve this problem, I propose to replace the subprogram of the same name with the one below:
|
Hi
I have some issues with the Tutorial5.
Data are stored in the JSON file:
{"timestamp":[1519303055,1519303075,1519303095],"t":[25.4,25.4,25.4],"h":[19.8,20.2,20.1],"pa":[1050,1050,1050],"bart":[],"barh":[]}
Graph is populated with the values and work as expected until a reboot of the ESP!
When the ESP reboots the file is read and in the loadHistory() function I see that the file is read with the root.prettyPrintTo(Serial);
BUT the graph never get the old data, program starts with a reading of the current temp/humidity and overwrites the file so I lose all the history.
Have anyone else experienced this and if so solved the read-back from file to the current buffer?
The text was updated successfully, but these errors were encountered: