|
1 | | - |
2 | | - |
3 | | -[](https://travis-ci.com/pimoroni/blinkt) |
4 | | -[](https://coveralls.io/github/pimoroni/blinkt?branch=master) |
5 | | -[](https://pypi.python.org/pypi/blinkt) |
6 | | -[](https://pypi.python.org/pypi/blinkt) |
7 | | - |
8 | | -https://shop.pimoroni.com/products/blinkt |
9 | | - |
10 | | -Eight super-bright RGB LED indicators, ideal for adding visual notifications to your Raspberry Pi on their own or on a pHAT stacking header. |
11 | | - |
12 | | -## Installing |
13 | | - |
14 | | -### Full install (recommended): |
15 | | - |
16 | | -We've created an easy installation script that will install all pre-requisites and get your Blinkt! |
17 | | -up and running with minimal efforts. To run it, fire up Terminal which you'll find in Menu -> Accessories -> Terminal |
18 | | -on your Raspberry Pi desktop, as illustrated below: |
19 | | - |
20 | | - |
21 | | - |
22 | | -In the new terminal window type the command exactly as it appears below (check for typos) and follow the on-screen instructions: |
23 | | - |
24 | | -```bash |
25 | | -curl https://get.pimoroni.com/blinkt | bash |
26 | | -``` |
27 | | - |
28 | | -Alternatively, on Raspbian, you can download the `pimoroni-dashboard` and install your product by browsing to the relevant entry: |
29 | | - |
30 | | -```bash |
31 | | -sudo apt-get install pimoroni |
32 | | -``` |
33 | | -(you will find the Dashboard under 'Accessories' too, in the Pi menu - or just run `pimoroni-dashboard` at the command line) |
34 | | - |
35 | | -If you choose to download examples you'll find them in `/home/pi/Pimoroni/blinkt/`. |
36 | | - |
37 | | -### Manual install: |
38 | | - |
39 | | -#### Library install for Python 3: |
40 | | - |
41 | | -on Raspbian: |
42 | | - |
43 | | -```bash |
44 | | -sudo apt-get install python3-blinkt |
45 | | -``` |
46 | | - |
47 | | -other environments: |
48 | | - |
49 | | -```bash |
50 | | -sudo pip3 install blinkt |
51 | | -``` |
52 | | - |
53 | | -#### Library install for Python 2: |
54 | | - |
55 | | -on Raspbian: |
56 | | - |
57 | | -```bash |
58 | | -sudo apt-get install python-blinkt |
59 | | -``` |
60 | | - |
61 | | -other environments: |
62 | | - |
63 | | -```bash |
64 | | -sudo pip2 install blinkt |
65 | | -``` |
66 | | - |
67 | | -### Development: |
68 | | - |
69 | | -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: |
70 | | - |
71 | | -```bash |
72 | | -sudo python3 setup.py install |
73 | | -``` |
74 | | -(or `sudo python setup.py install` whichever your primary Python environment may be) |
75 | | - |
76 | | -## Documentation & Support |
77 | | - |
78 | | -* Guides and tutorials - https://learn.pimoroni.com/blinkt |
79 | | -* Function reference - http://docs.pimoroni.com/blinkt/ |
80 | | -* GPIO Pinout - https://pinout.xyz/pinout/blinkt |
81 | | -* Get help - http://forums.pimoroni.com/c/support |
82 | | - |
83 | | -## Unofficial / Third-party libraries |
84 | | - |
85 | | -* Golang library & examples by [Alex Ellis](https://www.alexellis.io) - https://github.com/alexellis/blinkt_go, https://github.com/alexellis/blinkt_go_examples |
86 | | -* Java library by Jim Darby - https://github.com/hackerjimbo/PiJava |
87 | | -* Java library by @HoldYourWaffle - https://github.com/HoldYourWaffle/blinkt4j |
88 | | -* Node.js library by @irrelon - https://github.com/irrelon/node-blinkt |
89 | | -* Rust library by @golemparts - https://github.com/golemparts/blinkt |
| 1 | + |
| 2 | + |
| 3 | +[](https://travis-ci.com/pimoroni/blinkt) |
| 4 | +[](https://coveralls.io/github/pimoroni/blinkt?branch=master) |
| 5 | +[](https://pypi.python.org/pypi/blinkt) |
| 6 | +[](https://pypi.python.org/pypi/blinkt) |
| 7 | + |
| 8 | +https://shop.pimoroni.com/products/blinkt |
| 9 | + |
| 10 | +Eight super-bright RGB LED indicators, ideal for adding visual notifications to your Raspberry Pi on their own or on a pHAT stacking header. |
| 11 | + |
| 12 | +## Installing |
| 13 | + |
| 14 | +### Full install (recommended): |
| 15 | + |
| 16 | +We've created an easy installation script that will install all pre-requisites and get your Blinkt! |
| 17 | +up and running with minimal efforts. To run it, fire up Terminal which you'll find in Menu -> Accessories -> Terminal |
| 18 | +on your Raspberry Pi desktop, as illustrated below: |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | +In the new terminal window type the command exactly as it appears below (check for typos) and follow the on-screen instructions: |
| 23 | + |
| 24 | +```bash |
| 25 | +git clone https://github.com/pimoroni/blinkt |
| 26 | +cd blinkt |
| 27 | +./install.sh |
| 28 | +``` |
| 29 | + |
| 30 | +### Manual install: |
| 31 | + |
| 32 | +```bash |
| 33 | +python3 -m pip install blinkt |
| 34 | +``` |
| 35 | +### Development: |
| 36 | + |
| 37 | +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: |
| 38 | + |
| 39 | +```bash |
| 40 | +make dev-deps |
| 41 | +make build |
| 42 | +``` |
| 43 | + |
| 44 | +To run QA and tests, use: |
| 45 | + |
| 46 | +```bash |
| 47 | +make check |
| 48 | +make qa |
| 49 | +make pytest |
| 50 | +``` |
| 51 | + |
| 52 | +## Documentation & Support |
| 53 | + |
| 54 | +* Guides and tutorials - https://learn.pimoroni.com/blinkt |
| 55 | +* Function reference - http://docs.pimoroni.com/blinkt/ |
| 56 | +* GPIO Pinout - https://pinout.xyz/pinout/blinkt |
| 57 | +* Get help - http://forums.pimoroni.com/c/support |
| 58 | + |
| 59 | +## Unofficial / Third-party libraries |
| 60 | + |
| 61 | +* Golang library & examples by [Alex Ellis](https://www.alexellis.io) - https://github.com/alexellis/blinkt_go, https://github.com/alexellis/blinkt_go_examples |
| 62 | +* Java library by Jim Darby - https://github.com/hackerjimbo/PiJava |
| 63 | +* Java library by @HoldYourWaffle - https://github.com/HoldYourWaffle/blinkt4j |
| 64 | +* Node.js library by @irrelon - https://github.com/irrelon/node-blinkt |
| 65 | +* Rust library by @golemparts - https://github.com/golemparts/blinkt |
0 commit comments