Skip to content

Commit ac76dca

Browse files
committed
Huge refactor, switch to PWMOut compatible API.
This change reduces the scope of the PCA9685 driver to simply providing PWMOut compatible objects for each channel. As a result, the motor and servo can now be used with any PWM source, not just the PCA9685. The new motor library is here: https://github.com/adafruit/Adafruit_CircuitPython_Motor Furthermore, this library is not aware of particular output configs such as the specific Adafruit Motor FeatherWing. That knowledge has been moved to a new FeatherWing library that handles all wing related initialization. Its available here: https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing Lastly, the new driver code and examples have been linted and standard library files added. Fixes adafruit#6 and fixes adafruit#7.
1 parent 0ffe9af commit ac76dca

25 files changed

+822
-1181
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
__pycache__
2+
_build
3+
*.pyc
4+
.env
5+
build*
6+
bundles

0 commit comments

Comments
 (0)