This sample shows how to light multiple LEDs on your LED strip to the same color.
This code uses the Adafruit CircuitPython NeoPixel library to control the LED strip.
-
Clone this repo onto your Pi and navigate to this folder.
-
Install the Pip packages using
sudo:sudo pip3 install -r requirements.txt
-
Read the
app.pycode to understand what it does. -
Update
PIXEL_COUNTto the number of pixels you are using. -
Run the
app.pysample usingsudo:sudo python3 app.py