From 0ad0510dd1ae90c09c83e77eb65f64a6baba163d Mon Sep 17 00:00:00 2001 From: Phillip Burgess Date: Sun, 6 Jan 2019 10:27:22 -0800 Subject: [PATCH] Add docstring for 'baudrate' kwarg in constructor. --- adafruit_dotstar.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/adafruit_dotstar.py b/adafruit_dotstar.py index d076dc1..6e1109a 100755 --- a/adafruit_dotstar.py +++ b/adafruit_dotstar.py @@ -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: