Skip to main content

MicroPython Driver for the PCA9685

Project description

Introduction

Documentation Status micropython latest version on PyPI Total PyPI downloads Code Style: Black

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

micropython-pca9685-0.1.0.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

micropython_pca9685-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file micropython-pca9685-0.1.0.tar.gz.

File metadata

  • Download URL: micropython-pca9685-0.1.0.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for micropython-pca9685-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9952d2bb54c1ac9ca919dce941d5efd0c99b4d20eccd30552170cb7a1d671a54
MD5 f64321bace40797336e35038f7422df6
BLAKE2b-256 8356c8b030b3489bee73f4cfdc214dd0c1a149b44336512bca2c1342b1358eff

See more details on using hashes here.

File details

Details for the file micropython_pca9685-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for micropython_pca9685-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 116eb8c92043f9631cb654e3a45b7c4e472d17658a88deeb3c3068230fa300b6
MD5 828cbf59cab986751612e4e47a7289de
BLAKE2b-256 20a99992b7b3ee10a8e9007ad822f7f8dbaa3c3b1efecb74547e451f529639d0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page