Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some idea with a state version of a Rotary Encoder #5

Open
karlstanger opened this issue Mar 17, 2024 · 1 comment
Open

Some idea with a state version of a Rotary Encoder #5

karlstanger opened this issue Mar 17, 2024 · 1 comment

Comments

@karlstanger
Copy link

Hi Alan,

searching for a good and easy to use menu system I found yours and I'm quite enthusiastic on it.
I'm a total greenhorn on all this coding in C++ - so please excuse my poor knowledge on it.

I recently bought an Arduino Uno R4 and I'm fine with it. Now I'm putting together some code to run a menu using this Uno R4, an OLED 128x64 and a Rotary Encoder KY-040 using the u8g2 library.
For the encoder I found a "state version of reading a KY-040, It offers full accuracy unlike other solutions" published by ownprox.

Source is: GitHub - ownprox/Rotary_Encoder_KY-040_Fixed: This is a state version of reading a KY-040 for Arduino, It offers full accuracy unlike other solutions.

Maybe you can include in your project a version which is running with that environment.
For me personnally it would be great if you could provide some advice.

Kind regards
Karl

@biscuit-pixel
Copy link

I dont see a reason for this, the encoder is debounced and pretty accurate for a menu system, as for the library, yes u8g2 is a bit efficient but that shouldnt take much time for u to rewrite...

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

No branches or pull requests

2 participants