/rainbow-hat

Python library and examples for the Pimoroni Rainbow HAT

Primary LanguagePython

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 -sS https://get.pimoroni.com/rainbowhat | bash

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