Created
January 26, 2022 17:31
-
-
Save baskaufs/a95c7b685d2a99be819944fa8832122e to your computer and use it in GitHub Desktop.
CircuitPython code to flask LED on QT PY RP2040
This file contains hidden or 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
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