…
|
||
---|---|---|
.. | ||
buttons | ||
chase_game | ||
clock | ||
colour_picker | ||
encoder | ||
gpio_pwm | ||
interrupt | ||
led_rainbow | ||
stop_watch | ||
CMakeLists.txt | ||
README.md |
README.md
RGB Encoder Wheel Breakout Examples (C++)
Function Examples
Buttons
A demonstration of reading the 5 buttons on Encoder Wheel.
Encoder
A demonstration of reading the rotary dial of the Encoder Wheel breakout.
Interrupt
How to read the buttons and rotary dial of the Encoder Wheel breakout, only when an interrupt occurs.
LED Examples
LED Rainbow
Displays a rotating rainbow pattern on Encoder Wheel's LED ring.
Clock
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
Display a circular stop-watch on the Encoder Wheel's LED ring.
Chase Game
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
Output a sine wave PWM sequence on the Encoder Wheel's side GPIO pins.