From 42c8bae3c2fdde8cbdce252c455e8c77db588529 Mon Sep 17 00:00:00 2001 From: Scott Povlot Date: Mon, 22 May 2023 14:32:57 -0400 Subject: [PATCH 1/4] Update the i2c parameter documentation Fix the code documentation which was incorrect. --- adafruit_servokit.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/adafruit_servokit.py b/adafruit_servokit.py index 09bfc85..1b03da3 100644 --- a/adafruit_servokit.py +++ b/adafruit_servokit.py @@ -61,8 +61,7 @@ class ServoKit: :param int channels: The number of servo channels available. Must be 8 or 16. The FeatherWing has 8 channels. The Shield, HAT, and Bonnet have 16 channels. - :param ~I2C i2c: The I2C bus to use. If not provided, it will use generate the default I2C - bus singleton ``busio.I2C()`` and use that. + :param ~I2C i2c: The I2C bus to use. If not provided,the default I2C ``board.I2C()`` will be used. :param int address: The I2C address of the PCA9685. Default address is ``0x40``. :param int reference_clock_speed: The frequency of the internal reference clock in Hertz. Default reference clock speed is ``25000000``. From 77868654b5436c4976423da0ddd23e8ac4580808 Mon Sep 17 00:00:00 2001 From: Scott Povlot Date: Mon, 22 May 2023 14:35:02 -0400 Subject: [PATCH 2/4] Minor text change --- adafruit_servokit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_servokit.py b/adafruit_servokit.py index 1b03da3..ab529a3 100644 --- a/adafruit_servokit.py +++ b/adafruit_servokit.py @@ -61,7 +61,7 @@ class ServoKit: :param int channels: The number of servo channels available. Must be 8 or 16. The FeatherWing has 8 channels. The Shield, HAT, and Bonnet have 16 channels. - :param ~I2C i2c: The I2C bus to use. If not provided,the default I2C ``board.I2C()`` will be used. + :param ~I2C i2c: The I2C bus to use. If not provided, the default I2C ``board.I2C()`` will be used. :param int address: The I2C address of the PCA9685. Default address is ``0x40``. :param int reference_clock_speed: The frequency of the internal reference clock in Hertz. Default reference clock speed is ``25000000``. From 726ed534e45a732ed3aa3edd3274d828330ae424 Mon Sep 17 00:00:00 2001 From: Scott Povlot Date: Tue, 30 May 2023 09:29:25 -0400 Subject: [PATCH 3/4] Modified comment line length --- adafruit_servokit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adafruit_servokit.py b/adafruit_servokit.py index ab529a3..c4d9eba 100644 --- a/adafruit_servokit.py +++ b/adafruit_servokit.py @@ -61,7 +61,8 @@ class ServoKit: :param int channels: The number of servo channels available. Must be 8 or 16. The FeatherWing has 8 channels. The Shield, HAT, and Bonnet have 16 channels. - :param ~I2C i2c: The I2C bus to use. If not provided, the default I2C ``board.I2C()`` will be used. + :param ~I2C i2c: The I2C bus to use. If not provided, the default I2C ``board.I2C()`` will + be used. :param int address: The I2C address of the PCA9685. Default address is ``0x40``. :param int reference_clock_speed: The frequency of the internal reference clock in Hertz. Default reference clock speed is ``25000000``. From 73a17b64f84d02f37014f35fb8940b8af97e414e Mon Sep 17 00:00:00 2001 From: Scott Povlot Date: Tue, 30 May 2023 11:19:32 -0400 Subject: [PATCH 4/4] Minor format change --- adafruit_servokit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adafruit_servokit.py b/adafruit_servokit.py index c4d9eba..e0d6235 100644 --- a/adafruit_servokit.py +++ b/adafruit_servokit.py @@ -61,8 +61,8 @@ class ServoKit: :param int channels: The number of servo channels available. Must be 8 or 16. The FeatherWing has 8 channels. The Shield, HAT, and Bonnet have 16 channels. - :param ~I2C i2c: The I2C bus to use. If not provided, the default I2C ``board.I2C()`` will - be used. + :param ~I2C i2c: The I2C bus to use. If not provided, the default I2C ``board.I2C()`` will + be used. :param int address: The I2C address of the PCA9685. Default address is ``0x40``. :param int reference_clock_speed: The frequency of the internal reference clock in Hertz. Default reference clock speed is ``25000000``.