jhroot / unicorn-hat

C library, C example and Python wrapper for driving ws2812 pixels from the Raspberry Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unicorn HAT

Available from Pimoroni: http://shop.pimoroni.com/products/unicorn-hat

###Unicorn Hat Python Library & Examples

Here you'll find everything you need to start lighting up your UnicornHat in python.

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

Full install for beginners:

\curl -sS get.pimoroni.com/unicornhat | bash

Install for Python 3 ( idle3 ):

sudo apt-get install python3-pip python3-dev
sudo pip-3.2 install unicornhat

Install for Python 2 ( idle ):

sudo apt-get install python-pip python-dev
sudo pip install unicornhat

Then proceed to python/examples.

###Using with idle/idle3:

Unicorn HAT needs root to function. Please make sure you start LXTerminal and run idle or idle3 with the "sudo" command like so:

sudo idle

###Based Upon rpi_ws281x

Unicorn HAT is based upon a modified, Pi 2 compatible version of the RPi ws281x Library by Jeremy Garff.

The library was modified by Richard Hirst.

###RaspberryPi-NeoPixel-WS2812

Note: Unicorn HAT is no longer based upon this library, but this information is included for posterity.

Unicorn Hat was previously based upon a modified version of the ws2812 C driver from: https://github.com/626Pilot/RaspberryPi-NeoPixel-WS2812

About

C library, C example and Python wrapper for driving ws2812 pixels from the Raspberry Pi

License:GNU General Public License v2.0


Languages

Language:C 66.3%Language:JavaScript 16.1%Language:Python 9.0%Language:C++ 4.8%Language:CSS 1.5%Language:HTML 1.1%Language:Perl 0.3%Language:Ruby 0.3%Language:Makefile 0.3%Language:Shell 0.2%