Skip to main content

SPI driven CircuitPython driver for neopixels.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

SPI driven CircuitPython driver for NeoPixels.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install adafruit-circuitpython-neopixel-spi

To install system-wide (this may be required in some cases):

sudo pip3 install adafruit-circuitpython-neopixel-spi

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-neopixel-spi

Usage Example

import board
import neopixel_spi

pixels = neopixel_spi.NeoPixel_SPI(board.SPI(), 10)
pixels.fill(0xff0000)

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Project details


Download files

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

Source Distribution

Built Distribution

File details

Details for the file adafruit_circuitpython_neopixel_spi-1.0.10.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_neopixel_spi-1.0.10.tar.gz
Algorithm Hash digest
SHA256 958056851e30984cfd44b03c28791f8010d9c27c19a66abd96a6b38ffdc8c484
MD5 4e43a5bac946867eda54ec6f19b31bb3
BLAKE2b-256 1c9d70e1352338269bfbd634fa76267c8831467373c14325860a4bd11aca6bf1

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_neopixel_spi-1.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_neopixel_spi-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 49e9c9e7686bd6644a1f4e9bf157ad6da929b30b52432ab4064847c15a1ecf55
MD5 b45ab6f6d9b45e1a14a2a8248ace6002
BLAKE2b-256 7603de67d7f747e9d914d7c5307040c9e660055e74b09e4b4e89ac9770e38a0e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page