Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Rainbow HAT Driver

Project description

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

0.1.0

  • Change: Pressure readings now output as hPa rather than Pa
  • Change: Removed hard calls to exit() to fix behaviour in IDLE
  • Change: Defer device setup until methods are called
  • Fix: Added delay to APA102 output to fix instability under high load

0.0.2

  • Bugfix: Fixed length calculation in print_number_str

0.0.1

  • Initial release

Project details


Release history Release notifications

This version
History Node

0.1.0

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
rainbowhat-0.1.0-py2-none-any.whl (15.5 kB) Copy SHA256 hash SHA256 Wheel py2 May 23, 2018
rainbowhat-0.1.0-py3-none-any.whl (15.5 kB) Copy SHA256 hash SHA256 Wheel py3 May 23, 2018
rainbowhat-0.1.0.tar.gz (12.9 kB) Copy SHA256 hash SHA256 Source None May 23, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page