Skip to content

Files

Latest commit

19ec07e · May 12, 2022

History

History
This branch is 5 commits ahead of, 513 commits behind pimoroni/pimoroni-pico:main.

encoder

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 12, 2022
May 12, 2022
May 12, 2022
May 12, 2022
May 12, 2022
May 12, 2022
May 12, 2022
May 12, 2022
May 12, 2022
May 12, 2022
May 12, 2022
May 12, 2022

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.