I don't see any input_pullups in code as assumed (like in constructor?), no idea where to connect the button's other end and encoder's common pin. Adding one or two sentences in readme would be really helpful and add value to your library.
If some general understanding of encoder electrical connections is expected, please add relevant links.
I don't see any input_pullups in code as assumed (like in constructor?), no idea where to connect the button's other end and encoder's common pin. Adding one or two sentences in readme would be really helpful and add value to your library.
If some general understanding of encoder electrical connections is expected, please add relevant links.