encoder.tick(); // just call tick() to check the state. attachInterrupt(digitalPinToInterrupt(PIN_ENCODER_A), checkPosition, CHANGE); attachInterrupt ...
encoder.tick(); // just call tick() to check the state.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results