Hi,
I made a fork of Pauls' great Encoder library.
It is still compatible, and just uses an alternate algorithm which is debounced.
With cheap mechanical encoders you will have a new user experience. No debouncing with capacitors needed anymore - and is better than capacitors.
I found the algorithm on the net (link in the sourcecode), tested it, and decided to use it for the library.
Updating your existing programs is easy: exchange
#include <Encoder.H>
with
"#include <EncoderBounce.h>
https://github.com/FrankBoesing/EncoderBounce
I made a fork of Pauls' great Encoder library.
It is still compatible, and just uses an alternate algorithm which is debounced.
With cheap mechanical encoders you will have a new user experience. No debouncing with capacitors needed anymore - and is better than capacitors.
I found the algorithm on the net (link in the sourcecode), tested it, and decided to use it for the library.
Updating your existing programs is easy: exchange
#include <Encoder.H>
with
"#include <EncoderBounce.h>
https://github.com/FrankBoesing/EncoderBounce