pimoroni-pico/micropython/examples/encoder/README.md

899 B

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.