You are reading a single comment by @AkosLukacs and its replies.
Click here to read the full conversation.
-
The problem might be the speed. Have you tried the Encoder module?
The problem might be the speed. Have you tried the Encoder module?
In the topic of setWatch limitation - I have a strange behaviour of setWatch.
I'm using rotary encoder (not the poteniometer, but the one you install on motor to read impulses).
Code should count impulses per second, and it does. However strange thing is that at low speed it counts 45-50 impulses, at high speed (~x2) it counts 43-48 impulses. Clearly expectation was quite the opposite:)
Assuming code and wiring is ok - I was wondering if maybe I'm hitting speed limitation of Espruino - which is simply not able to process frequently enough impulses.
I'm using ESP32 and Espruino 2.04