Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Commit 51f78de

Browse files
committed
first commit
1 parent 534b28f commit 51f78de

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

micropython_pca9685/i2c_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
* adafruit_register.i2c_struct. Author(s): Scott Shawcroft
1616
* adafruit_register.i2c_bits. Author(s): Scott Shawcroft
17-
* adafruit_register.i2c_strucarray. Author(s): Scott Shawcroft
17+
* adafruit_register.i2c_structarray. Author(s): Scott Shawcroft
1818
1919
MIT License
2020

micropython_pca9685/motor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def throttle(self, value: float) -> None:
144144
raise ValueError("Continuous servos cannot spin freely")
145145
self.fraction = (value + 1) / 2
146146

147-
def __enter__(self) -> "ContinuousServo":
147+
def __enter__(self):
148148
return self
149149

150150
def __exit__(

micropython_pca9685/pca9685.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
================================================================================
99
1010
11-
Driver for the PCA9685 PWM control IC. Its commonly used to control servos, leds and motors.
11+
MicroPython Driver for the PCA9685 PWM control IC. Its commonly used to control
12+
servos, leds and motors.
1213
1314
1415
* Author(s): Radomir Dopieralski, Scott Shawcroft, Jose D. Montoya

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"urls": [
33
["micropython_pca9685/__init__.py", "github:jposada202020/MicroPython_PCA9685/micropython_pca9685/__init__.py"],
44
["micropython_pca9685/i2c_helpers.py", "github:jposada202020/MicroPython_PCA9685/micropython_pca9685/i2c_helpers.py"],
5-
["micropython_pca9685/pca9685.py", "github:jposada202020/MicroPython_PCA9685/micropython_pca9685/pca9685.py"]
5+
["micropython_pca9685/pca9685.py", "github:jposada202020/MicroPython_PCA9685/micropython_pca9685/pca9685.py"],
6+
["micropython_pca9685/motor.py", "github:jposada202020/MicroPython_PCA9685/micropython_pca9685/motor.py"]
7+
68
],
7-
"version": "0.1"
9+
"version": "1"
810
}

0 commit comments

Comments
 (0)