Skip to content

Commit 84f138f

Browse files
committed
fix docstring
1 parent dd29815 commit 84f138f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

adafruit_dotstar.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,14 @@ def __init__(self, clock, data, n, *, brightness=1.0, auto_write=True,
127127
brightness=brightness, auto_write=auto_write)
128128

129129
def show(self):
130+
"""Shows the new colors on the pixels themselves if they haven't already
131+
been autowritten.
132+
133+
The colors may or may not be showing after this method returns because
134+
it may be done asynchronously.
135+
136+
This method is called automatically if auto_write is set to True.
137+
"""
130138
if self._spi:
131139
self._spi.write(self._buf)
132140
else:

0 commit comments

Comments
 (0)