Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Ruff

This helper library provides higher level objects to control motors and servos based on one or more PWM outputs.

The PWM outputs can be any object that have a 16-bit duty_cycle attribute. Its assumed that the frequency has already been configured appropriately. (Typically 50hz for servos and 1600hz for motors.)

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

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 adafruit-circuitpython-motor

To install system-wide (this may be required in some cases):

sudo pip3 install adafruit-circuitpython-motor

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-motor

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Download files

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

Source Distribution

adafruit_circuitpython_motor-3.5.0.tar.gz (31.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adafruit_circuitpython_motor-3.5.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file adafruit_circuitpython_motor-3.5.0.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_motor-3.5.0.tar.gz
Algorithm Hash digest
SHA256 806a0b0b9cd908b1e2446efdfad67eade6d8cf8849dd7fc564ffd59246781793
MD5 b00d902aa99e1dcfc1e7c73c6b123d01
BLAKE2b-256 1023da2d513700ffc234a8e9146e4659d5aaa98c20a6def1bf9deae17ae5f6e1

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_motor-3.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_motor-3.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26ca2405e8f5e81976a8541667a49807a9d5a7a2e02065420837e052b3cc0c0f
MD5 7d0b80ae61ef7de00072444aba0337ca
BLAKE2b-256 13006cc6ad731d95e694578211db6d155c6772808f3374290669ecd3111fdfbb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.5.0 This release

2 files

3.4.20

2 files

3.4.19

2 files

3.4.18

2 files

3.4.17

2 files

3.4.16

2 files

3.4.15

2 files

3.4.14

2 files

3.4.13

2 files

3.4.12

2 files

3.4.11

2 files

3.4.10

2 files

3.4.9

2 files

3.4.8

2 files

3.4.7

2 files

3.4.6

2 files

3.4.5

2 files

3.4.4

2 files

3.4.3

2 files

3.4.2

1 file

3.4.1

1 file

3.4.0

1 file

3.3.5

1 file

3.3.4

1 file

3.3.3

1 file

3.3.2

1 file

3.3.1

1 file

3.3.0

1 file

3.2.8

1 file

3.2.7

1 file

3.2.6

1 file

3.2.5

1 file

3.2.4

1 file

3.2.3

1 file

3.2.2

1 file

3.2.1

1 file

3.2.0

1 file

3.1.2

1 file

3.1.1

1 file

3.1.0

1 file

3.0.0

1 file

2.0.2

1 file

2.0.1

1 file

2.0.0

1 file

1.5.1

1 file

1.5.0

1 file

1.4.2

1 file

1.4.1

1 file

1.4.0

1 file

1.3.3

1 file

1.3.2

1 file

1.3.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page