Skip to content

pimoroni/blinkt

master
Switch branches/tags
Code

Latest commit

* Added new examples; off, half, white, max,setall
* Union Jack example added
* Union jack fixed indexes, reduced white brightness
* Added vertical scroll animation
* Tidyup, show moved out of inner loop, delay increased
* Arg check corrected, arg decode simplified, brightness default to None
* Brightness set to 1.0 for maximum illumination
* Added 8 colour and 8 colour fade variants of solid_colours.py
* Compliance with flake8

Co-authored-by: druck <RPi-X@druck.org.uk>
Co-authored-by: druck <RPi-F@druck.org.uk>
Co-authored-by: Philip Howard <phil@pimoroni.com>
27a7dfc

Git stats

Files

Permalink
Failed to load latest commit information.

Blinkt!

Build Status Coverage Status PyPi Package Python Versions

https://shop.pimoroni.com/products/blinkt

Eight super-bright RGB LED indicators, ideal for adding visual notifications to your Raspberry Pi on their own or on a pHAT stacking header.

Installing

Full install (recommended):

We've created an easy installation script that will install all pre-requisites and get your Blinkt! up and running with minimal efforts. To run it, fire up Terminal which you'll find in Menu -> Accessories -> Terminal on your Raspberry Pi desktop, as illustrated below:

Finding the terminal

In the new terminal window type the command exactly as it appears below (check for typos) and follow the on-screen instructions:

curl https://get.pimoroni.com/blinkt | bash

Alternatively, on Raspbian, you can download the pimoroni-dashboard and install your product by browsing to the relevant entry:

sudo apt-get install pimoroni

(you will find the Dashboard under 'Accessories' too, in the Pi menu - or just run pimoroni-dashboard at the command line)

If you choose to download examples you'll find them in /home/pi/Pimoroni/blinkt/.

Manual install:

Library install for Python 3:

on Raspbian:

sudo apt-get install python3-blinkt

other environments:

sudo pip3 install blinkt

Library install for Python 2:

on Raspbian:

sudo apt-get install python-blinkt

other environments:

sudo pip2 install blinkt

Development:

If you want to contribute, or like living on the edge of your seat by having the latest code, you should clone this repository, cd to the library directory, and run:

sudo python3 setup.py install

(or sudo python setup.py install whichever your primary Python environment may be)

Documentation & Support

Unofficial / Third-party libraries