Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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 adafruit_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.3.8

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.3.8
File Size Uploaded
adafruit_circuitpython_neopxl8-0.3.8.tar.gz 25.3 kB Details

Built distribution (wheel)

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

Total release size: 31.6 kB

Release files / adafruit_circuitpython_neopxl8-0.3.8.tar.gz

Download URL adafruit_circuitpython_neopxl8-0.3.8.tar.gz
Size 25.3 kB
Tags Source
SHA-256 checksum
How to use checksums
afa21acae27fe73c0ab4dfd08142b3e6db55525dbec2f0a641bccd1b33080a30
BLAKE2b-256 checksum
How to use checksums
c91242fcb4683de4c32c3955f39850ee03a0eada120ea416102eebab18a867f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

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

Download URL adafruit_circuitpython_neopxl8-0.3.8-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98e8f7398c0d0c154204354abd69de3d89b726744e698f06a30fb29a21a15148
BLAKE2b-256 checksum
How to use checksums
93906f601dd1356584e91903196c8868b8221cb6dd65cf75bb931cac2333b712
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.3.8 This release

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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