kopia lustrzana https://github.com/pimoroni/pimoroni-pico
19ec07e8c6 | ||
---|---|---|
.. | ||
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
An example of how to read a mechanical rotary encoder.
Read Change
An example of how to read a mechanical rotary encoder, only when a change has occurred.
Read Speed
An example of how to read the speed a mechanical rotary encoder is being turned at.
Value Dial
A demonstration of a rotary encoder being used to control a value.
Item Selector
A demonstration of a rotary encoder being used to select items based on its physical position.