Skip to content

Commit

Permalink
Add docstring for 'baudrate' kwarg in constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintYourDragon committed Jan 6, 2019
1 parent 73e4fe8 commit 0ad0510
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 0ad0510

Please sign in to comment.