qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.31k stars 39.45k forks source link

Rotery encoder missing inputs on fast rotation #24296

Open ksmosna opened 3 months ago

ksmosna commented 3 months ago

Issue Description

Hello, i am new here, I've made custom keyboard using STM32F411RET6, two is31fl3733 for matrix RGB and oled. I have problem with my rotary encoder. When i am rotating it fast, ticks are not registered. When i am rotating it slow (tick after tick) sometimes rotation is registered and sometimes not. I was thinking that this is problem with the encoder, but after i've changed couple of the encoders the issue is still the same. Below is my implementation of the encoder. What am i doing wrong?

I am using ALPS encoder - EC11E18244AU

keyboar.json "encoder": { "rotary": [ {"pin_a": "B8", "pin_b": "B9", "resolution": 2} ] },

rules.md ENCODER_MAP_ENABLE = yes

I am using only pull up resistors (4.7k) on the pin a and pin b.

image

github-actions[bot] commented 4 days ago

This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs. For maintainers: Please label with bug, in progress, on hold, discussion or to do to prevent the issue from being re-flagged.