Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Black

PIO-driven 8-way concurrent NeoPixel driver for RP2040

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 or individual libraries can be installed using circup.

Installing to a Connected CircuitPython Device with Circup

Make sure that you have circup installed in your Python environment. Install it with the following command if necessary:

pip3 install circup

With circup installed and your CircuitPython device connected use the following command to install:

circup install neopxl8

Or the following command to update an existing version:

circup update

Usage Example

See the Examples page for a full example. This example shows how to set up 8 30-pixel LED strands on an Adafruit Feather Scorpio RP2040 and set them all to dim red:

import time
import board
from adafruit_neopxl8 import NeoPxl8

# Customize for your strands here
num_strands = 8
strand_length = 30
first_led_pin = board.NEOPIXEL0

num_pixels = num_strands * strand_length

# Make the object to control the pixels
pixels = NeoPxl8(
    first_led_pin,
    num_pixels,
    num_strands=num_strands,
)

pixels.fill(0x01_00_00)

while True:
    time.sleep(1)

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.

Metadata

Release files for adafruit-circuitpython-neopxl8 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adafruit-circuitpython-neopxl8 0.2.0
File Size Uploaded Provenance Actions
adafruit-circuitpython-neopxl8-0.2.0.tar.gz 28.2 kB Without provenance Details for adafruit-circuitpython-neopxl8-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adafruit-circuitpython-neopxl8 0.2.0
File Interpreter ABI Platform Actions
adafruit_circuitpython_neopxl8-0.2.0-py3-none-any.whl Python 3 none any Details for adafruit_circuitpython_neopxl8-0.2.0-py3-none-any.whl

Total release size: 34.4 kB

Release files / adafruit-circuitpython-neopxl8-0.2.0.tar.gz

Download URL adafruit-circuitpython-neopxl8-0.2.0.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7aa0e48698f750318f2e4f06666bf64cba0c76e4cab4007c9e040346a027f33b
BLAKE2b-256 checksum
How to use checksums
50bf3a993bbeeae6f6ca9576a816e355bf0de4678f4ee349521da6d04a9bb973
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / adafruit_circuitpython_neopxl8-0.2.0-py3-none-any.whl

Download URL adafruit_circuitpython_neopxl8-0.2.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b608bd3b88a6907418ecca3c6048b9bba015e5918e86fa37d344f44db0ff9fd
BLAKE2b-256 checksum
How to use checksums
de8fb0a43aa4b7fe8d8be4785329a658efdf6b2c4821b6201601d9e8ce1a9365
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Security for adafruit-circuitpython-neopxl8 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page