You might find that setBusyIndicator(LED1) is useful for you? That will turn LED1 on whenever Espruino thinks it's busy. You can use any pin (not just LED1), so you could hook it up to an oscilloscope to see how much time it spends turned on.
If you're just using LED1, waving the board side to side is still handy - it should leave a trail in your vision and you'll be able to guess roughly what percentage of the time it's on.
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.
Hi Harald,
You might find that
setBusyIndicator(LED1)
is useful for you? That will turn LED1 on whenever Espruino thinks it's busy. You can use any pin (not just LED1), so you could hook it up to an oscilloscope to see how much time it spends turned on.If you're just using LED1, waving the board side to side is still handy - it should leave a trail in your vision and you'll be able to guess roughly what percentage of the time it's on.