pimoroni-pico/examples/encoder
ZodiusInfuser 19ec07e8c6 Added encoder C++ examples 2022-05-12 16:15:40 +01:00
..
CMakeLists.txt Added encoder C++ examples 2022-05-12 16:15:40 +01:00
README.md Added encoder C++ examples 2022-05-12 16:15:40 +01:00
encoder_item_selector.cmake Added encoder C++ examples 2022-05-12 16:15:40 +01:00
encoder_item_selector.cpp Added encoder C++ examples 2022-05-12 16:15:40 +01:00
encoder_read_change.cmake Added encoder C++ examples 2022-05-12 16:15:40 +01:00
encoder_read_change.cpp Added encoder C++ examples 2022-05-12 16:15:40 +01:00
encoder_read_counts.cmake Added encoder C++ examples 2022-05-12 16:15:40 +01:00
encoder_read_counts.cpp Added encoder C++ examples 2022-05-12 16:15:40 +01:00
encoder_read_speed.cmake Added encoder C++ examples 2022-05-12 16:15:40 +01:00
encoder_read_speed.cpp Added encoder C++ examples 2022-05-12 16:15:40 +01:00
encoder_value_dial.cmake Added encoder C++ examples 2022-05-12 16:15:40 +01:00
encoder_value_dial.cpp Added encoder C++ examples 2022-05-12 16:15:40 +01:00

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.