yes, you can do that, but that's only checking that the idle loop is working. If something happened (low memory, undefined/etc value) that caused your code to keep failing it wouldn't catch that.
And no, it doesn't add any noticeable power usage :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
yes, you can do that, but that's only checking that the idle loop is working. If something happened (low memory,
undefined
/etc value) that caused your code to keep failing it wouldn't catch that.And no, it doesn't add any noticeable power usage :)