We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d401bbf + be1b125 commit 82e1f61Copy full SHA for 82e1f61
1 file changed
CircuitPython_Templates/neopixel_blink_one_pixel.py
@@ -0,0 +1,12 @@
1
+"""CircuitPython blink example for built-in NeoPixel LED"""
2
+import time
3
+import board
4
+import neopixel
5
+
6
+pixel = neopixel.NeoPixel(board.NEOPIXEL, 1)
7
8
+while True:
9
+ pixel.fill((255, 0, 0))
10
+ time.sleep(0.5)
11
+ pixel.fill((0, 0, 0))
12
0 commit comments