Disabled everything except IR signal generation, now the minimal code. It didn't help either. The first code sequence consists of the required number of pulses (21). But they are all with the wrong duration and pauses. The second and third sequences are slightly better, but there are also offsets. And the duration of the impulses is longer than the specified one.
Now I definitely can't change anything. There is a minimal code left.
I don't understand how a module that is much more powerful than arduino nano is not able to solve this simple task ...
What is it for then? Blinking chaotically with LEDs?
[add]
I flashed the code from arduino nano to esp32. It works just as perfectly as it does on the arduino board. It turns out this javascript is so slow...
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.
Disabled everything except IR signal generation, now the minimal code. It didn't help either. The first code sequence consists of the required number of pulses (21). But they are all with the wrong duration and pauses. The second and third sequences are slightly better, but there are also offsets. And the duration of the impulses is longer than the specified one.
Now I definitely can't change anything. There is a minimal code left.
I don't understand how a module that is much more powerful than arduino nano is not able to solve this simple task ...
What is it for then? Blinking chaotically with LEDs?
[add]
I flashed the code from arduino nano to esp32. It works just as perfectly as it does on the arduino board. It turns out this javascript is so slow...
1 Attachment