• The timer on the STM32F4 should be pretty good - to below 1us. The issue is the time that it takes to execute JavaScript code. Below 1ms, the JavaScript execution will be getting in the way of the timer.

    You can however measure times using setWatch very accurately, as no JS is involved until after the event.

    I'll be looking at increasing JS execution speed - there are many obvious ways to do it, but right now that is not actually a huge priority.

About

Avatar for Gordon @Gordon started