All Projects → pimoroni → Rainbow Hat

pimoroni / Rainbow Hat

Licence: mit
Python library and examples for the Pimoroni Rainbow HAT

Programming Languages

python
139335 projects - #7 most used programming language

Rainbow HAT

Rainbow HAT is a flexible IO exploration board with multiple devices covering i2c, SPI, generic GPIO.

This repository contains the Pimoroni Python driver for Rainbow HAT, for use with Raspbiban on your Raspberry Pi.

For the official AndroidThings driver see: https://github.com/androidthings/contrib-drivers/tree/master/rainbowhat

Installation

Full install ( recommended ):

We've created a super-easy installation script that will install all pre-requisites and get your Rainbow HAT up and running in a jiffy. To run it fire up Terminal which you'll find in Menu -> Accessories -> Terminal on your Raspberry Pi desktop like so:

Finding the terminal

In the new terminal window type:

curl https://get.pimoroni.com/rainbowhat | bash

If you choose to download examples you'll find them in /home/pi/Pimoroni/rainbowhat.

Library install for Python 3:

on Raspbian:

sudo apt-get install python3-rainbowhat

other environments:

sudo pip3 install rainbowhat

Library install for Python 2:

on Raspbian:

sudo apt-get install python-rainbowhat

other environments:

sudo pip2 install rainbowhat

Documentation & Support

Getting started - http://learn.pimoroni.com/tutorial/sandyj/getting-started-with-rainbow-hat-in-python
GPIO Pinout - https://pinout.xyz/pinout/rainbow_hat
Get help - http://forums.pimoroni.com/c/support

Community Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].