Inspired by Philip's Metar Map, this project controls a handfull of LEDs mounted behind a sectional chart.
Twinkle is designed to run on a raspberry pi that has the rpi_ws281x library installed. This assume you are running on an ubuntu distro.
From the raspberry
sudo apt-get install cmake
git clone https://github.com/jgarff/rpi_ws281x
cd rpi_ws281x
mkdir build
cd build
cmake -D BUILD_SHARED=OFF -D BUILD_TEST=ON ..
sudo make install
You should now have /usr/local/lib/libws2811.a
and headers in /usr/local/include/ws2811
. If not, check out the build documentation.
Clone this repo and run make build
to see if you go toolchain is hapoy. You might need to install go and more tools.
Then tweak config.yaml
Also check out some other commands:
make run
: fire up Twinkle from sourcemake setup
: Very opinionated and fragile way to run twinkle viasystemd
.make [enable|disable]
: Tellsystemd
to run twinkle on startup (or not); needs setup to run firstmake [start|stop|status]
: Find out howsystemd
feels about twinkle, start twinkle or stop it