Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BartMassey/rotary-decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rotary-decoder: robust decode for quadrature rotary encoder switch

Bart Massey 2025

This Rust library crate provides a decoder intended for mechanical rotary encoder switches with quadrature A B encoding. It dejitters and debounces the crappy mechanical switches using a state machine.

Acknowledgments

DeepSeek helped a bit in structuring this code. (Although be damned if it understood the state tables or logic.)

License

This work is made available under the "Apache 2.0 or MIT License". See the file LICENSE.txt in this distribution for license terms.

About

deepseek quadrature decoder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages