Skip to content

8bit encoder detection + debounced button detection, numpy removal#710

Merged
akuker merged 4 commits intodevelopfrom
bzeiss_ctrlboard_improvements
Mar 2, 2022
Merged

8bit encoder detection + debounced button detection, numpy removal#710
akuker merged 4 commits intodevelopfrom
bzeiss_ctrlboard_improvements

Conversation

@bzeiss
Copy link
Copy Markdown
Collaborator

@bzeiss bzeiss commented Feb 27, 2022

According to my tests, this rewritten rotary encoder detection works quite a bit better than before, especially with different encoder models. The old one worked fine with my bourns encoder, but jumped around with the cheap chinese encoders I had. I have also added a debounce timer for the button presses as it started to jump around a bit with the restructuring done in this change. Very fast movements still do not always get detected, but I think this is due to missing events due to i2c + multiplexer. Also, I have removed numpy. It didn't seem to make any difference any more.

@bzeiss bzeiss requested a review from rdmark February 27, 2022 11:41
@akuker akuker merged commit 0297fe8 into develop Mar 2, 2022
@akuker akuker deleted the bzeiss_ctrlboard_improvements branch March 2, 2022 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants