Skip to content

Instantly share code, notes, and snippets.

@baskaufs
Created January 26, 2022 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baskaufs/a95c7b685d2a99be819944fa8832122e to your computer and use it in GitHub Desktop.
Save baskaufs/a95c7b685d2a99be819944fa8832122e to your computer and use it in GitHub Desktop.
CircuitPython code to flask LED on QT PY RP2040
import time
import board
import neopixel
pixels = neopixel.NeoPixel(board.NEOPIXEL, 1)
while True:
pixels.fill((255, 0, 0))
time.sleep(0.1)
pixels.fill((0, 0, 0))
time.sleep(0.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment