2nd-Level Encoder Debouncing for scrappy encoder dials (#1838)

* Experimental encoder debouncing

* Experimental encoder debouncing

* Clang

* Comment changed
This commit is contained in:
Mark Thompson 2024-02-01 14:13:28 -06:00 committed by GitHub
parent a2a5fb166e
commit ee2e57d702
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 45 additions and 71 deletions

View file

@ -30,6 +30,7 @@ class Encoder {
private:
uint_fast8_t state{0};
int_fast8_t prev_direction{0};
};
#endif /*__ENCODER_H__*/