RotaryEncoder icon indicating copy to clipboard operation
RotaryEncoder copied to clipboard

RotaryEncoder Arduino Library

Results 10 RotaryEncoder issues
Sort by recently updated
recently updated
newest added

the interruptRotator example causes some spikes of 255 or -255 for the encoder position when you rotate around the "0" position. it's fixable by calling noInterrupts(); and interrupts(); around the...

thank for your library, is very good ! i use Nano, and the precompilator "defined(ARDUINO_AVR_NANO_EVERY)" not work for my arduino ide 1.8.13 the correct syntax is "defined(ARDUINO_AVR_NANO)" 2) in your...

invalid

First comment - really great job this library. Using the InterruptRotator example for Arduino Nano I used pin 2 and 3 (#define PIN_IN1 2, #define PIN_IN2 3) instead of #PIN_IN1...

by turning left and right. Can be used for menu

I am attempting to use your encoder library on a project of mine that employs an ATTiny88 with an EC11 rotary encoder attached to pins 12 and 13. Here is...

Hi Matthias and thanks for a great library. If I'm not completely mistaken, [`getRPM()`](https://github.com/mathertel/RotaryEncoder/blob/5667576f657ec7107703676a340c3b1313a3d484/src/RotaryEncoder.cpp#L164) assumes an encoder with 20 pulses per Rotation: `return 60000.0 / ((float)(t * 20));` So without...

enhancement

Line 95 - This call is not needed when using interrupts :) encoder->tick(); // just call tick() to check the state. Also lines 108 to 114 should be moved to...

I wanted to avoid digitalRead()/digitalWrite() operation within my Project. Therefore I made a split-up of the tick() function - to enable the possibility to read the Encoder-State within my loop...

Thanks for writing this! I plan to use this library with an MCP23017 and so I extended your library to support that. Happy to revise as needed after your review.