The NeoPixel library plus some extras, for example a testing mode - so you can see how your LEDs would behave directly in the terminal, without any extra hardware..
Project description
The NeoPixel library plus some extras, for example a testing mode - so you can see how your LEDs would behave directly in the terminal, without any extra hardware.
Want to support the development and stay updated?
Installation
pip install neopixel_plus
Usage
from neopixel_plus import NeoPixel
# Example 1 - Changing the color of a physical LED
pixel = NeoPixel(pin=5, n=30, bpp=3)
pixel.leds[0] = (219,100,222)
pixel.write()
# Example 2 - Testing a rainbow animation in the terminal
NeoPixel(test=True).rainbow_animation()
# Example 3 - Playing a rainbow animation on physical LEDs
NeoPixel(pin=5, n=30, bpp=3).rainbow_animation()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
neopixel_plus-0.3.8.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for neopixel_plus-0.3.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49bb6d100cc43924338e957fd7ef08db82977c0b0db6bd12e19948a3719f0a8b |
|
MD5 | 0a23ab55c80f2fb7b3a196744ae4b2a8 |
|
BLAKE2b-256 | 2f71805ed3f58579c4910299b8b4dd0d2e4971fe5383bd37bcad9d2c2ebcc8ef |