Search found 1 match
- Tue Jan 17, 2017 11:56 pm
- Forum: Drivers for External Components
- Topic: A library for reading rotary encoders (ESP-8266 and Pyboard/stmhal)
- Replies: 22
- Views: 27423
Re: A library for reading rotary encoders (ESP-8266 and Pyboard/stmhal)
I am using SpotlightKid's [Rotary Encoder](https://github.com/SpotlightKid/micropython-stm-lib.git) and the OneHot lookup table plus interrupt callback latency seems to debounce the rotary switches nicely. The interrupt callback does a little calculation on the Encoder objects to update _value and a...