## 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"