What ever it is: at the begin or end of the interval that is setup, it should be the same as in the browser world... if* ES specifies it...
For the timeouts Iused so fare it was at the end of the interval... so I had to invoke the function once and then start the interval on it to get the desired immediate action and it's repetition after every n time entities. With a dependency on the interval length that would screw up this logic...
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.
What ever it is: at the begin or end of the interval that is setup, it should be the same as in the browser world... if* ES specifies it...
For the timeouts Iused so fare it was at the end of the interval... so I had to invoke the function once and then start the interval on it to get the desired immediate action and it's repetition after every n time entities. With a dependency on the interval length that would screw up this logic...