Using Arduino ProMicro some clicks from the push button were not detected. This solved the problem in the example :
...
ClickEncoder::Button b = encoder->getButton();
delayMicroseconds(5); // added small delay to avoid missing click
if (b != ClickEncoder::Open) {
...
Using Arduino ProMicro some clicks from the push button were not detected. This solved the problem in the example :
...
ClickEncoder::Button b = encoder->getButton();
delayMicroseconds(5); // added small delay to avoid missing click
if (b != ClickEncoder::Open) {
...