Skip to content

Commit

Permalink
Merge pull request #33 from PaintYourDragon/master
Browse files Browse the repository at this point in the history
Add docstring for 'baudrate' kwarg in constructor.
  • Loading branch information
siddacious authored Jan 6, 2019
2 parents 73e4fe8 + 0ad0510 commit 409e909
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions adafruit_dotstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,13 @@ class DotStar:
:param bool auto_write: True if the dotstars should immediately change when
set. If False, `show` must be called explicitly.
:param tuple pixel_order: Set the pixel order on the strip - different
strips implement this differently. If you send red, and it looks blue
or green on the strip, modify this! It should be one of the values above
strips implement this differently. If you send red, and it looks blue
or green on the strip, modify this! It should be one of the values
above.
:param int baudrate: Desired clock rate if using hardware SPI (ignored if
using 'soft' SPI). This is only a recommendation; the actual clock
rate may be slightly different depending on what the system hardware
can provide.
Example for Gemma M0:
Expand Down

0 comments on commit 409e909

Please sign in to comment.