Arduino Forum
Using Millis with optical encoder
Projects
Programming
wildbill
November 10, 2021, 7:19pm
13
You should not use counter when interrupts are enabled. Your broken version does exactly that.
show post in topic
Related topics
Topic
Replies
Views
Activity
miscounting of encoder pulses
Motors, Mechanics, Power and CNC
26
5909
May 6, 2021
Need help!! how to code pulse count from optical encoder to 360 degrees code
Programming
50
11778
May 5, 2021
cant read optical wheel encoder with attachInterupt?? (but polling works fine)
General Guidance
22
9076
May 5, 2021
Slowing down my optical encoder
General Guidance
23
3183
May 5, 2021
encoder rotativo recuperato da mouse
Generale
34
14382
May 7, 2021