adafruit / Adafruit_Seesaw

Arduino library driver for seesaw multi-use chip
93 stars 64 forks source link

rotary encoder false counts #40

Closed jerryneedell closed 3 years ago

jerryneedell commented 3 years ago

This issue occurs with both of the basic examples from the Arduino and Circuitython libraries with an I2C QT_ROTARY_Encoder PID (4991). I have encountered it with both a QTPY RP2040 (Circuitpython) and a QTPY M0 (Arduino).

The encoder position does not always return to the same starting value after turning the encoder. It can be reproduced in two ways: 1)Note the starting value. Rapidly turn the encoder back and forth several times returning to the starting point. The returned value will not always be the same as the starting value. 2) Note the starting value. Gently turn the encoder, but do not go to the next indent. Sometimes the encoder will report a change in position when no change has occurred. I expect that this is also what it happening in 1). The encoder is sometimes counting a partial step.

jerryneedell commented 3 years ago

Closing -- this is a dup of https://github.com/adafruit/seesaw/issues/51