Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.31 KB

README.md

File metadata and controls

51 lines (33 loc) · 1.31 KB

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.