How to undo save()? #463
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 3 comments
-
Posted at 2015-10-16 by dbkingsb The doc for reset() seems to imply that function will clear out the program. Confirmed, just tested reset(); it "undoes" the save(). :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2015-10-16 by the1laz ... And then save() after the reset(). |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2015-10-16 by tve Ah, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-10-16 by tve
There's probably a trivial trick I'm not seeing, but I save()'d some stuff in flash and I'd like to erase it so Esprunio comes up "empty" at boot. How do I do that? (I know how to erase the relevant sector in flash on an esp8266, but I think there needs to be a Javascript way to do that.)
Beta Was this translation helpful? Give feedback.
All reactions