Closed simplio closed 1 year ago
It is not a problem with the Library code. Maybe the manufacturer inverted the encoder connections. I can not fix it in the Library code. If so, all the right encoder setup will work wrong. But if you have the sketch, you can fix it by change the lines as shown below:
Look for the lines
and change to
Or... just fix the encoder connections.
Yes the ATS 20+ uses a better encoder which has reversed pins of the ATS 20. That change resolves the issue. Thanks!
Describe the bug Direction of encoder wrong. rotating left frequency increase. rotating right frequency decrease. Is same bug for all other functions.
To Reproduce Spin the encoder watch the display to see wrong direction.
Expected behavior Rotating left frequency decrease, rotating right frequency increase. Should be same for all other functions.
Screenshots If applicable, add screenshots or photo to help explain your problem.
Please, add the following information):
Additional context Please fix it in the code. Thanks.