Skip to main content

CircuitPython library for Pixie chainable 3W smart LED.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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-pixie

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

sudo pip3 install adafruit-circuitpython-pixie

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-pixie

Usage Example

import time
import board
from rainbowio import colorwheel
import adafruit_pixie
import busio

uart = busio.UART(board.TX, rx=None, baudrate=115200)

num_pixies = 2  # Change this to the number of Pixies LEDs you have.
pixies = adafruit_pixie.Pixie(uart, num_pixies, brightness=0.2, auto_write=False)


while True:
for i in range(255):
    for pixie in range(num_pixies):
        pixies[pixie] = colorwheel(i)
    pixies.show()

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

adafruit_circuitpython_pixie-1.2.23.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adafruit_circuitpython_pixie-1.2.23-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file adafruit_circuitpython_pixie-1.2.23.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_pixie-1.2.23.tar.gz
Algorithm Hash digest
SHA256 daec8627cffce2b6cc6afac7d83b67b8e904e778e01dc8b2c09d003b83715e99
MD5 f9f6cbf8fc1460bad39a4e8760e728d0
BLAKE2b-256 ecbe36d1e9a26af250bb35153328b4c8d9e9b73cd4bea460f9d6cec9c4f443d5

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_pixie-1.2.23-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_pixie-1.2.23-py3-none-any.whl
Algorithm Hash digest
SHA256 9359a87de2216492c0f3ac43efb694015553a27cb88c0ba1c71b0a2e6fdb8e95
MD5 0257b4144ff63fbd0db21c83ec1b51dd
BLAKE2b-256 7f908f84d4dee410b7a37c3ba82de90f5778533208e2174a51080aa9d6ca0c4a

See more details on using hashes here.

Supported by

Image AWS Cloud computing and Security Sponsor Image Datadog Monitoring Image Depot Continuous Integration Image Fastly CDN Image Google Download Analytics Image Pingdom Monitoring Image Sentry Error logging Image StatusPage Status page