is there a reset to defualt command?

Posted on
  • I have 2 old devices , that sending data \ searching and doing all kind of unkonw things
    what do I need to do so they will reset to factory-default?

    Thanks,

  • require("Storage").eraseAll() clears all saved stuff and then E.reboot()
    You can also check via Web IDE storage icon (in the middle) what is there now and possibly save it.

  • Thank you !

  • For most stuff reset(1) will work for you too (to clear saved code from storage) - it's only if you added code in something like .boot0 as well that it wouldn't be totally erased.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

is there a reset to defualt command?

Posted by Avatar for David1234321 @David1234321

Actions