# For pistache
sudo apt install libssl-dev
# For simulation with SDL
sudo apt install libsdl1.2-dev
# For playing radio streams
sudo apt install vlc
# For compiling
sudo apt install cmake git
./get_externals.sh
mkdir build
cd build
cmake ..
make -j
The raspberry pi zero needs an arm6 compiler (see here).
./install_crosstool_ng.sh
ct-ng armv6-rpi-linux-gnueabi
ct-ng menuconfig
# Paths and misc options ---> set CT_PREFIX to "${CT_PREFIX:-./x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
ct-ng build
# Retry on download errors.
./cross_prepare.sh
mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../Toolchain-rpizero.cmake
make -j
The wall is made up of 252 WS2801 pixels. See https://learn.adafruit.com/12mm-led-pixels/wiring on how to set them up.
WS2801 | Raspberry | Power Supply |
---|---|---|
5V (red) | +V | |
CK/CI (green) | Pin 23 (SCLK) | |
SI/SD (yellow) | Pin 19 (MOSI) | |
GND (blue) | Pin 6 (GND | -V |