KY-040-Encoder-Library---Arduino
KY-040-Encoder-Library---Arduino copied to clipboard
behavior difference
The behavior is not the same for left and right direction.
From left to right the counter change at the begining of the rotation, not at the end of the step. From right to left the counter change at the end of the rotation.
The second is my prefered, more intuitive, having the move on the end of the step (not at begining).
Iinitially I've tryed with the Paul Stoffregen Encoder library that gives me double step.