Skip to content
esp-idf-libPublic

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

esp-idf-lib/encoder

Build examples Build docs Validation

HW timer-based driver for incremental rotary encoders.

The encoder is polled by a periodic esp_timer, so the pins do not have to be interrupt capable and several encoders work at the same time. The polling interval is a build time constant, CONFIG_RE_INTERVAL_US, which also sets the granularity of the button timings. The events are reported from the timer task, so the callback has to be quick and must not call back into the driver; see the documentation of the callback type before using it.

Installation

idf.py add-dependency esp-idf-lib/encoder

Support

For questions and discussions about the component, please use Discussions at esp-idf-lib/core.

Contributing

Please read CONTRIBUTING.md at esp-idf-lib/core.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages