Skip to content
32/64 LED HAT for Raspberry Pi
C Python Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
documentation Rainbow-HAT Jun 9, 2017
examples Rainbow-HAT Jun 9, 2017
library Rainbow-HAT Jun 9, 2017
EXTREMELY_IMPORTANT_WARNINGS.txt Rainbow-HAT Jun 9, 2017
LICENSE Rainbow-HAT Jun 9, 2017
LICENSE.txt Rainbow-HAT Jun 9, 2017
README.md README update Dec 10, 2018
rainbow-hat-logo.png Rainbow-HAT Jun 9, 2017

README.md

Rainbow-HAT

32/64 LED HAT for Raspberry Pi

Rainbow HAT/pHAT

Available from ALLO.com:

Important Notice

Because Rainbow HAT uses the PWM hardware, which is also how your Raspberry Pi generates analog audio, you may see random colour patterns and flickering.

If this happens, you should add the following to your /boot/config.txt:

hdmi_force_hotplug=1

Sound will work fine using speakers on, for example, an HDMI TV, but you will not be able to use your Pi's 3.5mm audio jack in conjunction with Rainbow HAT.

rainbowhat Python Library & Examples

Here you'll find everything you need to start lighting up your Rainbow HAT or pHAT using python.

Python users should probably ignore most of this repository and just:

sudo apt-get install python-pip python-dev

Install from Github clone

git clone https://github.com/allocom/rainbow-hat
cd rainbow-hat/
sudo apt-get install python-dev python-setuptools
cd library/RainbowHat
sudo python setup.py install
cd ../library/rpi-ws281x
sudo python setup.py install
cd ../..

Then proceed to examples.

Notes:

-rainbow-hat tested with Volumio & max2play images. -rainboa-hat compatible with unicorn-hat python library and examples.


You can’t perform that action at this time.