Introduction
MicroPython Driver for the PCA9685 This include the a servo helper. The servo helper is taken from the adafruit_circuitpython_motor library and adapted to MicroPython.
If you are interested in a great MicroPython PCA9685 library take a look at https://github.com/pappavis/micropython-pca9685
Installing with mip
To install using mpremote
mpremote mip install github:jposada202020/MicroPython_PCA9685
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_PCA9685
Installing Library Examples
If you want to install library examples:
mpremote mip install github:jposada202020/MicroPython_PCA9685/examples.json
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_PCA9685/examples.json
Installing from PyPI
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:
pip3 install micropython-pca9685
To install system-wide (this may be required in some cases):
sudo pip3 install micropython-pca9685
To install in a virtual environment in your current project:
mkdir project-name && cd project-name
python3 -m venv .venv
source .env/bin/activate
pip3 install micropython-pca9685
Usage Example
Take a look at the examples directory
Documentation
API documentation for this library can be found on Read the Docs.
Metadata
Release files for micropython-pca9685 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| micropython-pca9685-0.1.0.tar.gz | 21.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| micropython_pca9685-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.3 kB
Release files / micropython-pca9685-0.1.0.tar.gz
| Download URL | micropython-pca9685-0.1.0.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9952d2bb54c1ac9ca919dce941d5efd0c99b4d20eccd30552170cb7a1d671a54
|
|
BLAKE2b-256 checksum How to use checksums |
8356c8b030b3489bee73f4cfdc214dd0c1a149b44336512bca2c1342b1358eff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / micropython_pca9685-0.1.0-py3-none-any.whl
| Download URL | micropython_pca9685-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
116eb8c92043f9631cb654e3a45b7c4e472d17658a88deeb3c3068230fa300b6
|
|
BLAKE2b-256 checksum How to use checksums |
20a99992b7b3ee10a8e9007ad822f7f8dbaa3c3b1efecb74547e451f529639d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for micropython-pca9685 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.