pimoroni-pico/micropython/examples/encoder
..
README.md
item_selector.py
read_change.py
read_counts.py
read_speed.py
value_dial.py

README.md

Encoder MicroPython Examples

Examples

Read Counts

read_counts.py

An example of how to read a mechanical rotary encoder.

Read Change

read_change.py

An example of how to read a mechanical rotary encoder, only when a change has occurred.

Read Speed

read_speed.py

An example of how to read the speed a mechanical rotary encoder is being turned at.

Value Dial

value_dial.py

A demonstration of a rotary encoder being used to control a value.

Item Selector

item_selector.py

A demonstration of a rotary encoder being used to select items based on its physical position.