Last active
September 22, 2021 06:15
-
-
Save BenjaminSantiago/dbb30f823a3912b594e92876310c50dd to your computer and use it in GitHub Desktop.
Update neopixels individually
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
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