MicroPython Driver for the PCA9685
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for micropython-pca9685-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9952d2bb54c1ac9ca919dce941d5efd0c99b4d20eccd30552170cb7a1d671a54 |
|
MD5 | f64321bace40797336e35038f7422df6 |
|
BLAKE2b-256 | 8356c8b030b3489bee73f4cfdc214dd0c1a149b44336512bca2c1342b1358eff |
Hashes for micropython_pca9685-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 116eb8c92043f9631cb654e3a45b7c4e472d17658a88deeb3c3068230fa300b6 |
|
MD5 | 828cbf59cab986751612e4e47a7289de |
|
BLAKE2b-256 | 20a99992b7b3ee10a8e9007ad822f7f8dbaa3c3b1efecb74547e451f529639d0 |