Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 985 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 985 Bytes

Adafruit Python WS2801

Python code to control WS2801 and similar SPI interface addressable RGB LED strips on a Raspberry Pi & BeagleBone Black.

Installation

To install the library from source (recommended) run the following commands on a Raspberry Pi or other Debian-based OS system:

sudo apt-get install git build-essential python-dev
cd ~
git clone https://github.com/adafruit/Adafruit_Python_WS2801.git
cd Adafruit_Python_WS2801
sudo python setup.py install

Alternatively you can install from pip with:

sudo pip install adafruit-ws2801

Note that the pip install method won't install the example code.

Pin numbering

The library (and the sample code) use the Broadcom BCM GPIO pin numbering scheme, rather than the physical pin numbering scheme. The Adafruit T-Cobbler breakout board, for example, uses the BCM scheme. See https://pinout.xyz for a quick-reference image.