Skip to main content

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


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page