2015-03-01 17:42:39 +01:00
|
|
|
blinkenPi
|
|
|
|
---------
|
|
|
|
|
|
|
|
Because LEDs are fun.
|
|
|
|
|
2015-03-01 20:24:16 +01:00
|
|
|
Initiall this will display the space status on our small jumbotron but will also reflect current space life in the future
|
|
|
|
|
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
|
|
|
|
```
|
2015-03-08 20:25:38 +01:00
|
|
|
sudo apt-get install python-imaging python3-pip python-requests python3-requests
|
|
|
|
sudo pip-3.2 install pillow
|
2015-03-01 20:24:16 +01:00
|
|
|
|
2015-03-08 20:46:48 +01:00
|
|
|
mkdir ~/bin
|
|
|
|
|
2015-03-01 20:24:16 +01:00
|
|
|
# Initialize submodules in repo
|
|
|
|
git submodule update --init
|
2015-03-08 19:48:30 +01:00
|
|
|
cd rpi-rgb-led-matrix/
|
|
|
|
make
|
2015-03-08 20:05:04 +01:00
|
|
|
cp rgbmatrix.so ../
|
2015-03-08 20:46:48 +01:00
|
|
|
cp led-matrix text-example ~/bin
|
|
|
|
|
|
|
|
# testing time
|
2015-03-08 19:48:30 +01:00
|
|
|
sudo ./minimal-example
|
|
|
|
sudo ./led-matrix -D 0
|
|
|
|
sudo python matrixtest.py
|
2015-03-08 20:05:04 +01:00
|
|
|
```
|
|
|
|
|
2020-01-28 22:47:59 +01:00
|
|
|
```
|
2020-01-28 22:58:33 +01:00
|
|
|
# the current way to start the script is:
|
|
|
|
# /etc/rc.local running directly lcd.sh as root
|
2020-01-28 22:47:59 +01:00
|
|
|
# lcd.sh starts the matrix display in an endless loop
|
2020-01-28 22:58:33 +01:00
|
|
|
# future: run lcd.sh earlier in boot process instead of at the end
|
2020-01-28 22:47:59 +01:00
|
|
|
```
|