This repository has been archived on 2025-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
tucvbif 703f027717
Allow for removal of hysteresis on 4x encoders (#13698)
* Remove hysteresis on 4x encoders

Sometimes, controller skips encoder pulses and when it returns to default position, the encoder_pulses variable isn't equals 0. And when I turn encoder in opposite direciton, it skips first click becase of encoder_pulses crosses zero. To prevent this, I add the ENCODER_DEFAULT_POS constant, and reset encoder_pulses into 0 when the state variable equals ENCODER_DEFAULT_POS.

* Documentation for ENCODER_DEFAULT_POS
2021-08-18 09:40:00 +10:00
..
2021-08-06 23:59:56 -07:00
2021-08-18 04:48:00 +10:00
2021-08-06 23:59:56 -07:00
2019-08-30 15:01:52 -07:00
2019-08-30 15:01:52 -07:00
2021-07-25 19:14:58 -07:00
2021-07-25 19:14:58 -07:00
2020-08-29 14:30:02 -07:00
2019-08-30 15:01:52 -07:00
2020-03-06 22:29:01 -08:00
2019-08-30 15:01:52 -07:00
2019-08-30 15:01:52 -07:00