You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Well, it seems a bit hacky - but yes - I don't see anything wrong with that at all.

    Another thing you could do if you really want to 'hard' reset the chip is : E.enableWatchdog(0.1);while(1);

    The setDeepSleep thing you're doing is really good if using serial-based sensors though.

    ... what I should do at some point is have a E.shutdownFor(seconds) command that puts the device into proper power-down, but restarts in in X seconds. That'd do what you want but would also be super power-efficient.

About

Avatar for Gordon @Gordon started