We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91a5e4e commit 9fba7b6Copy full SHA for 9fba7b6
neopixel.py
@@ -93,6 +93,18 @@ class NeoPixel(_pixelbuf.PixelBuf):
93
with neopixel.NeoPixel(NEOPIXEL, 10) as pixels:
94
pixels[::2] = [RED] * (len(pixels) // 2)
95
time.sleep(2)
96
+
97
+ .. py:method:: NeoPixel.show()
98
99
+ Shows the new colors on the pixels themselves if they haven't already
100
+ been autowritten.
101
102
+ The colors may or may not be showing after this function returns because
103
+ it may be done asynchronously.
104
105
+ .. py:method:: NeoPixel.fill(color)
106
107
+ Colors all pixels the given ***color***.
108
"""
109
bpp = None
110
n = 0
0 commit comments