The duration of the impulses is incorrect. It is about 1.4-1.5 times longer than it should be. For example, instead of 0.6ms, I see 0.96ms.
Integers gives exactly the same problem. This is (floats) not the problem.
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.
The duration of the impulses is incorrect. It is about 1.4-1.5 times longer than it should be. For example, instead of 0.6ms, I see 0.96ms.
Integers gives exactly the same problem. This is (floats) not the problem.