Skip to content

Commit 409e909

Browse files
authored
Merge pull request #33 from PaintYourDragon/master
Add docstring for 'baudrate' kwarg in constructor.
2 parents 73e4fe8 + 0ad0510 commit 409e909

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

adafruit_dotstar.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,13 @@ class DotStar:
5757
:param bool auto_write: True if the dotstars should immediately change when
5858
set. If False, `show` must be called explicitly.
5959
:param tuple pixel_order: Set the pixel order on the strip - different
60-
strips implement this differently. If you send red, and it looks blue
61-
or green on the strip, modify this! It should be one of the values above
60+
strips implement this differently. If you send red, and it looks blue
61+
or green on the strip, modify this! It should be one of the values
62+
above.
63+
:param int baudrate: Desired clock rate if using hardware SPI (ignored if
64+
using 'soft' SPI). This is only a recommendation; the actual clock
65+
rate may be slightly different depending on what the system hardware
66+
can provide.
6267
6368
6469
Example for Gemma M0:

0 commit comments

Comments
 (0)