Skip to content

Latest commit

 

History

History

single-pixel

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Single pixel

This sample shows how to light a single LED on your LED strip.

This code uses the Adafruit CircuitPython NeoPixel library to control the LED strip.

Instructions

  1. Clone this repo onto your Pi and navigate to this folder.

  2. Install the Pip packages using sudo:

    sudo pip3 install -r requirements.txt
  3. Read the app.py code to understand what it does.

  4. Update PIXEL_COUNT to the number of pixels you are using.

  5. Run the app.py sample using sudo:

    sudo python3 app.py