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.

  • Binary Clock - Shows hours, minutes and seconds.
  • Candle - A flickering candle.
  • CheerLights - Synchronize with the CheerLights "Internet of Things" project.
  • Coloured Lights - Simple coloured lights like Xmas lights.
  • Gradient Graph - A moving colour gradient determined by the height of a sine wave.
  • Rainbow - A slowly moving rainbow effect.
  • Random Blink - Some random blinking.
  • Solid Colours - A basic effect which just shows a sequence of solid colours.

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 RANGE
                                  How long to display each effect for, in
                                  seconds (1-3600).  [default: 10]
  -b, --brightness INTEGER RANGE  How bright the effects will be (1-10).
                                  [default: 8]
  -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.2.tar.gz (8.9 kB view details)

Uploaded Source

File details

Details for the file ledshimdemo-0.0.2.tar.gz.

File metadata

  • Download URL: ledshimdemo-0.0.2.tar.gz
  • Upload date:
  • Size: 8.9 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

Hashes for ledshimdemo-0.0.2.tar.gz
Algorithm Hash digest
SHA256 578a930b6905295be61372502881f9c87912a7534eb11046c8b1265d1af07c3d
MD5 c7ea7b661e20a0af0b582cbd2a293316
BLAKE2b-256 f1a395896d90ba2f4bed01686b5b41908b4874a0539731ec9da145ae5b4ea33f

See more details on using hashes here.

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