Skip to content

Instantly share code, notes, and snippets.

@BenjaminSantiago
Last active September 22, 2021 06:15
Show Gist options
  • Save BenjaminSantiago/dbb30f823a3912b594e92876310c50dd to your computer and use it in GitHub Desktop.
Save BenjaminSantiago/dbb30f823a3912b594e92876310c50dd to your computer and use it in GitHub Desktop.
Update neopixels individually
"""
In this example we will light up each neopixel individually
"""
# --------------------------
from adafruit_circuitplayground import cp
# --------------------------
# --------------------------
while True:
# light up the 7th neopixel white
cp.pixels[6] = (255, 255, 255)
# --------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment