raphaelyancey / pyKY040

🎛 High-level Python interface for the KY040 rotary encoder
https://pypi.org/project/pyky040/
GNU General Public License v3.0
26 stars 16 forks source link

scale mode is documented as optional #2

Closed dtrv closed 4 years ago

dtrv commented 5 years ago

Setup encoder without scale mode (only inc_callback and dec_callback). Documentation says all arguments are optional but without scale_min/max setup() fails.

enc.setup(inc_callback=inc_volume, dec_callback=dec_volume)
raphaelyancey commented 5 years ago

Thanks @dtrv. Did you test it with a real encoder? If yes, I'll merge it right away.