Debounce the PEC11L rotary encoder of the KY-040 module (no interrupts are used).
The read() function is continuously polled in your loop(), it will return 1 or -1 (depending from the direction) with each rotation tick and 0 if not rotating.
| Filename | Release Date | File Size |
|---|---|---|
| RotaryEncoderPoll_CW-1.0.0.zip | 2026-05-26 | 351.40 KiB |