Show various effects on a Pimoroni LED shim.
Project description
led-shim-demo
Display a variety of effects on the Raspberry Pi led-shim from Pimoroni.
The effects are based on the examples given in the base library plus some additions from my fork.
- Candle - A flickering candle.
- Gradient Graph - A moving colour gradient determined by the height of a sine wave.
- Solid Colours - A basic effect which just shows a sequence of solid colours.
- Binary Clock - Shows hours, minutes and seconds.
- Rainbow - A slowly moving rainbow effect.
- CheerLights - Synchronize with the CheerLights "Internet of Things" project.
- Random Blink - Some random blinking.
Installing
Install on Raspbian from PyPi using:
sudo pip3 install led-shim-demo
Running
$ ledshimdemo --help
Usage: ledshimdemo [OPTIONS]
Show various effects on a Pimoroni LED shim.
Options:
--version Show the version and exit.
-s, --show_effects [CYCLE|RANDOM]
How the effects are displayed. [default:
CYCLE]
-t, --effect_time INTEGER How long to display each effect for, in
seconds. [default: 10]
-i, --invert Change the display orientation.
-l, --log [NONE|INFO|EFFECT|DEBUG]
Show additional logging information.
--help Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ledshimdemo-0.0.1.tar.gz
(8.0 kB
view details)
File details
Details for the file ledshimdemo-0.0.1.tar.gz
.
File metadata
- Download URL: ledshimdemo-0.0.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e32777376e10cc97ab8396e1e97ebb55e9d60da911980afe75efdd2c77aa60c |
|
MD5 | b45935dfd6720c7730fe5451aba39b7d |
|
BLAKE2b-256 | 3e97b220b2cb5938da5cc511dd528de59d55ddeb92dbf0127c996a554a9ebb40 |