BasicOLEDMenu icon indicating copy to clipboard operation
BasicOLEDMenu copied to clipboard

Some idea with a state version of a Rotary Encoder

Open karlstanger opened this issue 1 year ago • 1 comments

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

karlstanger avatar Mar 17 '24 16:03 karlstanger

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...

biscuit-pixel avatar Apr 05 '24 10:04 biscuit-pixel