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

41 wiersze
899 B
Markdown
Czysty Zwykły widok Historia

2022-05-12 13:45:20 +00:00
# Encoder MicroPython Examples <!-- omit in toc -->
- [Examples](#examples)
2022-05-12 15:15:40 +00:00
- [Read Counts](#read-counts)
2022-05-12 13:45:20 +00:00
- [Read Change](#read-change)
- [Read Speed](#read-speed)
- [Value Dial](#value-dial)
- [Item Selector](#item-selector)
## Examples
2022-05-12 15:15:40 +00:00
### Read Counts
[read_counts.py](read_counts.py)
2022-05-12 13:45:20 +00:00
An example of how to read a mechanical rotary encoder.
### Read Change
[read_change.py](read_change.py)
An example of how to read a mechanical rotary encoder, only when a change has occurred.
### Read Speed
[read_speed.py](read_speed.py)
An example of how to read the speed a mechanical rotary encoder is being turned at.
### Value Dial
[value_dial.py](value_dial.py)
A demonstration of a rotary encoder being used to control a value.
### Item Selector
[item_selector.py](item_selector.py)
A demonstration of a rotary encoder being used to select items based on its physical position.