riban-bw / I2C-Hardware-Controller

A hardware controller providing rotary encoders, switches and potentiometer values via I2C
GNU General Public License v3.0
4 stars 1 forks source link

Potentiometer value can be one off target #5

Open riban-bw opened 5 years ago

riban-bw commented 5 years ago

Setting potentiomter fully up should result in the highest possible value but sometimes it provides a value one less than maximum. This may be after fast or slow movement but does not always occur. It seems to happen at the top end but not at the bottom (zero) end.

riban-bw commented 5 years ago

This seems to be related to the noise filter. Leaving the control alone for a few seconds results in the value changing to the expected value. Might need to review filter code although this might not be a significant problem.