0xPIT / encoder

Atmel AVR C++ RotaryEncoder Implementation
309 stars 162 forks source link

Bugfix: Allow button on input digital 0 (disabled pin is -1) #23

Closed joergkeller closed 1 year ago

joergkeller commented 6 years ago

Check for disabled pin with -1 instead of 0, allowing to use pin 0 for encoder switch.