In line 92 of ClickEncoder.cpp the value of the lookup table (+1 / 0 / -1) is stored in a uint8_t datatype, instead it should be stored in an int8_t type according to the possible values.
uint8_t tbl = pgm_read_byte(&table[last]);
if (tbl) {
Serial.println(tbl);
delta += tbl;
moved = true;
}
In line 92 of ClickEncoder.cpp the value of the lookup table (+1 / 0 / -1) is stored in a uint8_t datatype, instead it should be stored in an int8_t type according to the possible values.