You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
importtimeimportboardfromadafruit_neopxl8importNeoPxl8# Customize for your strands herenum_strands=8strand_length=30first_led_pin=board.NEOPIXEL0num_pixels=num_strands*strand_length# Make the object to control the pixelspixels=NeoPxl8(
first_led_pin,
num_pixels,
num_strands=num_strands,
)
pixels.fill(0x01_00_00)
whileTrue:
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.
About
PIO-driven 8-way concurrent NeoPixel driver for RP2040