pimoroni-pico/micropython/examples/breakout_encoder_wheel
ZodiusInfuser 387df3bd12 Progress on encoder wheel C++ and MP 2023-05-02 17:31:11 +01:00
..
README.md First porting of python examples 2023-05-02 10:22:14 +01:00
buttons.py First porting of python examples 2023-05-02 10:22:14 +01:00
chase_game.py First porting of python examples 2023-05-02 10:22:14 +01:00
clock.py Progress on encoder wheel C++ and MP 2023-05-02 17:31:11 +01:00
colour_picker.py Progress on encoder wheel C++ and MP 2023-05-02 17:31:11 +01:00
encoder.py remove description prints 2023-05-02 10:22:14 +01:00
gpio_pwm.py Progress on encoder wheel C++ and MP 2023-05-02 17:31:11 +01:00
led_rainbow.py Progress on encoder wheel C++ and MP 2023-05-02 17:31:11 +01:00
stop_watch.py Progress on encoder wheel C++ and MP 2023-05-02 17:31:11 +01:00

README.md

Encoder Wheel Breakout Micropython Examples

Function Examples

Buttons

buttons.py

A demonstration of reading the 5 buttons on Encoder Wheel.

Encoder

encoder.py

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

LED Examples

LED Rainbow

led_rainbow.py

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

Clock

clock.py

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

Interactive Examples

Colour Picker

colour_picker.py

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.py

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

Chase Game

chase_game.py

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.py

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