pimoroni-pico/examples/encoder
..
CMakeLists.txt
README.md
encoder_item_selector.cmake
encoder_item_selector.cpp
encoder_read_change.cmake
encoder_read_change.cpp
encoder_read_counts.cmake
encoder_read_counts.cpp
encoder_read_speed.cmake
encoder_read_speed.cpp
encoder_value_dial.cmake
encoder_value_dial.cpp

README.md

Encoder C++ Examples

Examples

Read Counts

encoder_read_counts.cpp

An example of how to read a mechanical rotary encoder.

Read Change

encoder_read_change.cpp

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

Read Speed

encoder_read_speed.cpp

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

Value Dial

encoder_value_dial.cpp

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

Item Selector

encoder_item_selector.cpp

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