pimoroni-pico/examples/breakout_encoder_wheel
ZodiusInfuser d00185d831 Added C & MP interrupt example 2023-05-10 16:57:38 +01:00
..
buttons Added C++ readme 2023-05-04 14:59:01 +01:00
chase_game Added C++ readme 2023-05-04 14:59:01 +01:00
clock Added C++ readme 2023-05-04 14:59:01 +01:00
colour_picker Added C++ readme 2023-05-04 14:59:01 +01:00
encoder Added C++ readme 2023-05-04 14:59:01 +01:00
gpio_pwm Exposed support for GPIO pins on encoder wheel 2023-05-10 12:46:00 +01:00
interrupt Added C & MP interrupt example 2023-05-10 16:57:38 +01:00
led_rainbow Added C++ readme 2023-05-04 14:59:01 +01:00
stop_watch Added C++ readme 2023-05-04 14:59:01 +01:00
CMakeLists.txt Added C & MP interrupt example 2023-05-10 16:57:38 +01:00
README.md Added C & MP interrupt example 2023-05-10 16:57:38 +01:00

README.md

RGB Encoder Wheel Breakout Examples (C++)

Function Examples

Buttons

buttons/buttons.cpp

A demonstration of reading the 5 buttons on Encoder Wheel.

Encoder

encoder/encoder.cpp

A demonstration of reading the rotary dial of the Encoder Wheel breakout.

Interrupt

interrupt/interrupt.cpp

How to read the buttons and rotary dial of the Encoder Wheel breakout, only when an interrupt occurs.

LED Examples

LED Rainbow

led_rainbow/led_rainbow.cpp

Displays a rotating rainbow pattern on Encoder Wheel's LED ring.

Clock

clock/clock.cpp

Displays a 12 hour clock on Encoder Wheel's LED ring, getting time from the system.

Interactive Examples

Colour Picker

colour_picker/colour_picker.cpp

Create a colour wheel on the Encoder Wheel's LED ring, and use all functions of the wheel to interact with it.

Stop Watch

stop_watch/stop_watch.cpp

Display a circular stop-watch on the Encoder Wheel's LED ring.

Chase Game

chase_game/chase_game.cpp

A simple alignment game. Use Encoder Wheel's rotary dial to align the coloured band to the white goal. The closer to the goal, the greener your coloured band will be. When you reach the goal, the goal will move to a new random position.

GPIO Examples

GPIO PWM

gpio_pwm/gpio_pwm.cpp

Output a sine wave PWM sequence on the Encoder Wheel's side GPIO pins.