default

Example of the component esp-idf-lib/encoder v1.0.7
## What the example does

* Prints received events from the encoder such as "Button pressed" and the
  position value in a loop.

## Wiring

| Chip    | A  | B  | Button |
|---------|----|----|--------|
| ESP8266 | 14 | 12 | 13     |
| ESP32s  | 16 | 17 | 5      |

To create a project from this example, run:

idf.py create-project-from-example "esp-idf-lib/encoder=1.0.7:default"

or download archive (~2.15 KB)