Sun 2018.08.26
I have a need for extremely accurate function call timing.
It would be nice to have a range of argument values at:
http://www.espruino.com/Reference#l__global_setInterval
I'm seeing limitations of the IDE keeping up around 80-100ms
But, as in browsers, faster times might be possible?
http://www.adequatelygood.com/Minimum-Timer-Intervals-in-JavaScript.html
What is the shortest reliable duration?
The above pre-supposes all called code would execute before the next call.
Also, need to apply a delay using setTimeout() under the same reliable constraint.
@Robin started
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.
Sun 2018.08.26
I have a need for extremely accurate function call timing.
It would be nice to have a range of argument values at:
http://www.espruino.com/Reference#l__global_setInterval
I'm seeing limitations of the IDE keeping up around 80-100ms
But, as in browsers, faster times might be possible?
http://www.adequatelygood.com/Minimum-Timer-Intervals-in-JavaScript.html
What is the shortest reliable duration?
The above pre-supposes all called code would execute before the next call.
Also, need to apply a delay using setTimeout() under the same reliable constraint.